Fix the build with MSVC 2013, still cannot default move ctors yet
Ten days.
llvm-svn: 283394
diff --git a/llvm/unittests/ADT/STLExtrasTest.cpp b/llvm/unittests/ADT/STLExtrasTest.cpp
index 849b6f1..4f49fb7 100644
--- a/llvm/unittests/ADT/STLExtrasTest.cpp
+++ b/llvm/unittests/ADT/STLExtrasTest.cpp
@@ -136,7 +136,8 @@
CanCopy(const CanCopy &) = delete;
CanCopy() = default;
- CanCopy(CanCopy &&) = default;
+ // FIXME: Use '= default' when we drop MSVC 2013.
+ CanCopy(CanCopy &&) {};
};
template <bool Moveable, bool Copyable>