projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2dca4c
)
SmallVectorTest: Make the deleted member functions private to help MSVC users.
author
David Blaikie
<dblaikie@gmail.com>
Wed, 11 Jun 2014 17:50:14 +0000
(17:50 +0000)
committer
David 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
patch
|
blob
|
history
diff --git
a/unittests/ADT/SmallVectorTest.cpp
b/unittests/ADT/SmallVectorTest.cpp
index 2d2668aca949e02b333f0779586575b18c7b8e2e..95bf33e5bfbaeb5130a6b950c4625373f63d1984 100644
(file)
--- 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;
};