From: Reid Kleckner Date: Wed, 5 Oct 2016 21:44:46 +0000 (+0000) Subject: Fix the build with MSVC 2013, still cannot default move ctors yet X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=87bf0196f2d0dac7a2bad45eb457e647afbed9e7;p=llvm Fix the build with MSVC 2013, still cannot default move ctors yet Ten days. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283394 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/ADT/STLExtrasTest.cpp b/unittests/ADT/STLExtrasTest.cpp index 849b6f1d097..4f49fb77479 100644 --- a/unittests/ADT/STLExtrasTest.cpp +++ b/unittests/ADT/STLExtrasTest.cpp @@ -136,7 +136,8 @@ template <> struct CanCopy { CanCopy(const CanCopy &) = delete; CanCopy() = default; - CanCopy(CanCopy &&) = default; + // FIXME: Use '= default' when we drop MSVC 2013. + CanCopy(CanCopy &&) {}; }; template