OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a4f206
)
Fix the build with MSVC 2013, still cannot default move ctors yet
author
Reid Kleckner
<rnk@google.com>
Wed, 5 Oct 2016 21:44:46 +0000
(21:44 +0000)
committer
Reid Kleckner
<rnk@google.com>
Wed, 5 Oct 2016 21:44:46 +0000
(21:44 +0000)
Ten days.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283394
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/ADT/STLExtrasTest.cpp
patch
|
blob
|
history
diff --git
a/unittests/ADT/STLExtrasTest.cpp
b/unittests/ADT/STLExtrasTest.cpp
index
849b6f1
..
4f49fb7
100644
(file)
--- a/
unittests/ADT/STLExtrasTest.cpp
+++ b/
unittests/ADT/STLExtrasTest.cpp
@@
-136,7
+136,8
@@
template <> struct CanCopy<false> {
CanCopy(const CanCopy &) = delete;
CanCopy() = default;
- CanCopy(CanCopy &&) = default;
+ // FIXME: Use '= default' when we drop MSVC 2013.
+ CanCopy(CanCopy &&) {};
};
template <bool Moveable, bool Copyable>