Address #2211: Improve the copy constructor of TVarLivePair.
This commit is contained in:
parent
55f9d97f3b
commit
4fa68edd68
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ struct TVarLivePair : std::pair<const TString, TVarEntryInfo> {
|
|||
second = _Right.second;
|
||||
return (*this);
|
||||
}
|
||||
TVarLivePair(const TVarLivePair& src) { *this = src; }
|
||||
TVarLivePair(const TVarLivePair& src) : pair(src) { }
|
||||
};
|
||||
typedef std::vector<TVarLivePair> TVarLiveVector;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue