1
0
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:
David Blaikie 2014-06-11 17:50:14 +00:00
parent 52e8d9b98d
commit 01e532692b

View File

@ -143,6 +143,7 @@ struct NonCopyable {
NonCopyable() {} NonCopyable() {}
NonCopyable(NonCopyable &&) {} NonCopyable(NonCopyable &&) {}
NonCopyable &operator=(NonCopyable &&) { return *this; } NonCopyable &operator=(NonCopyable &&) { return *this; }
private:
NonCopyable(const NonCopyable &) LLVM_DELETED_FUNCTION; NonCopyable(const NonCopyable &) LLVM_DELETED_FUNCTION;
NonCopyable &operator=(const NonCopyable &) LLVM_DELETED_FUNCTION; NonCopyable &operator=(const NonCopyable &) LLVM_DELETED_FUNCTION;
}; };