SmallVectorTest: Make the deleted member functions private to help MSVC users.
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 11 Jun 2014 17:50:14 +0000 (17:50 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 11 Jun 2014 17:50:14 +0000 (17:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210665 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/ADT/SmallVectorTest.cpp

index 2d2668aca949e02b333f0779586575b18c7b8e2e..95bf33e5bfbaeb5130a6b950c4625373f63d1984 100644 (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;
 };