From e23e227a5c0ed1e68eb832a7d03a9a29b1206087 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Wed, 11 Jun 2014 17:50:14 +0000 Subject: [PATCH] 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 --- unittests/ADT/SmallVectorTest.cpp | 1 + 1 file changed, 1 insertion(+) 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; };