projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5839858
)
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.
llvm-svn: 283394
llvm/unittests/ADT/STLExtrasTest.cpp
patch
|
blob
|
history
diff --git
a/llvm/unittests/ADT/STLExtrasTest.cpp
b/llvm/unittests/ADT/STLExtrasTest.cpp
index
849b6f1
..
4f49fb7
100644
(file)
--- a/
llvm/unittests/ADT/STLExtrasTest.cpp
+++ b/
llvm/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>