summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-10-05 21:44:46 +0000
committerReid Kleckner <rnk@google.com>2016-10-05 21:44:46 +0000
commitb0311b290e99bf2a153be58e2da2254de29b1fe3 (patch)
tree339f83f1775bf07c5149091ccc5dec2cb5a1fd95 /llvm/unittests
parent5839858584a4e78ff1be293ca5b5e5df15ae081b (diff)
downloadbcm5719-llvm-b0311b290e99bf2a153be58e2da2254de29b1fe3.tar.gz
bcm5719-llvm-b0311b290e99bf2a153be58e2da2254de29b1fe3.zip
Fix the build with MSVC 2013, still cannot default move ctors yet
Ten days. llvm-svn: 283394
Diffstat (limited to 'llvm/unittests')
-rw-r--r--llvm/unittests/ADT/STLExtrasTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/unittests/ADT/STLExtrasTest.cpp b/llvm/unittests/ADT/STLExtrasTest.cpp
index 849b6f1d097..4f49fb77479 100644
--- 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>
OpenPOWER on IntegriCloud