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://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e23e227a5c0ed1e68eb832a7d03a9a29b1206087;p=oota-llvm.git SmallVectorTest: Make the deleted member functions private to help MSVC users. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210665 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/ADT/SmallVectorTest.cpp b/unittests/ADT/SmallVectorTest.cpp index 2d2668aca94..95bf33e5bfb 100644 --- a/unittests/ADT/SmallVectorTest.cpp +++ b/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; };