forked from OSchip/llvm-project
SmallVectorTest: Make the deleted member functions private to help MSVC users.
llvm-svn: 210665
This commit is contained in:
parent
064c206d23
commit
11e0876bb2
|
@ -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