SmallVectorTest: Make the deleted member functions private to help MSVC users.

llvm-svn: 210665
This commit is contained in:
David Blaikie 2014-06-11 17:50:14 +00:00
parent 064c206d23
commit 11e0876bb2
1 changed files with 1 additions and 0 deletions

View File

@ -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;
};