diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-06-11 17:50:14 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-06-11 17:50:14 +0000 |
commit | 11e0876bb2098ad734e9f5bbae31ce6ebb9f84cf (patch) | |
tree | cef844aecd4ac375e5e2e3f5cf5d1f3a07a2dffb /llvm/unittests | |
parent | 064c206d235b1db75809759f4902091268c174be (diff) | |
download | bcm5719-llvm-11e0876bb2098ad734e9f5bbae31ce6ebb9f84cf.tar.gz bcm5719-llvm-11e0876bb2098ad734e9f5bbae31ce6ebb9f84cf.zip |
SmallVectorTest: Make the deleted member functions private to help MSVC users.
llvm-svn: 210665
Diffstat (limited to 'llvm/unittests')
-rw-r--r-- | llvm/unittests/ADT/SmallVectorTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/ADT/SmallVectorTest.cpp b/llvm/unittests/ADT/SmallVectorTest.cpp index 2d2668aca94..95bf33e5bfb 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; }; |