forked from OSchip/llvm-project
thread safety: Add move ctor to BeforeInfo to fix MSVC build
MSVC cannot infer move ctors yet. llvm-svn: 228009
This commit is contained in:
parent
b7d5628784
commit
e675575d1b
|
@ -261,6 +261,8 @@ private:
|
|||
struct BeforeInfo {
|
||||
BeforeInfo() : Vect(nullptr), Visited(false) { }
|
||||
|
||||
BeforeInfo(BeforeInfo &&O) : Vect(std::move(O.Vect)), Visited(O.Visited) {}
|
||||
|
||||
std::unique_ptr<BeforeVect> Vect;
|
||||
int Visited;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue