From: David Blaikie Date: Wed, 11 Jun 2014 17:50:14 +0000 (+0000) Subject: SmallVectorTest: Make the deleted member functions private to help MSVC users. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=11e0876bb2098ad734e9f5bbae31ce6ebb9f84cf;p=platform%2Fupstream%2Fllvm.git SmallVectorTest: Make the deleted member functions private to help MSVC users. llvm-svn: 210665 --- diff --git a/llvm/unittests/ADT/SmallVectorTest.cpp b/llvm/unittests/ADT/SmallVectorTest.cpp index 2d2668a..95bf33e 100644 --- a/llvm/unittests/ADT/SmallVectorTest.cpp +++ b/llvm/unittests/ADT/SmallVectorTest.cpp @@ -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; };