mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
SmallVectorTest: Make the deleted member functions private to help MSVC users.
llvm-svn: 210665
This commit is contained in:
parent
52e8d9b98d
commit
01e532692b
@ -143,6 +143,7 @@ struct NonCopyable {
|
||||
NonCopyable() {}
|
||||
NonCopyable(NonCopyable &&) {}
|
||||
NonCopyable &operator=(NonCopyable &&) { return *this; }
|
||||
private:
|
||||
NonCopyable(const NonCopyable &) LLVM_DELETED_FUNCTION;
|
||||
NonCopyable &operator=(const NonCopyable &) LLVM_DELETED_FUNCTION;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user