mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-03 19:32:35 +00:00
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
Block a user