Address #2211: Improve the copy constructor of TVarLivePair.
This commit is contained in:
parent
55f9d97f3b
commit
4fa68edd68
@ -244,7 +244,7 @@ struct TVarLivePair : std::pair<const TString, TVarEntryInfo> {
|
|||||||
second = _Right.second;
|
second = _Right.second;
|
||||||
return (*this);
|
return (*this);
|
||||||
}
|
}
|
||||||
TVarLivePair(const TVarLivePair& src) { *this = src; }
|
TVarLivePair(const TVarLivePair& src) : pair(src) { }
|
||||||
};
|
};
|
||||||
typedef std::vector<TVarLivePair> TVarLiveVector;
|
typedef std::vector<TVarLivePair> TVarLiveVector;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user