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
This commit is contained in:
Reid Kleckner 2016-10-05 21:44:46 +00:00
parent 2a4f206513
commit 87bf0196f2

View File

@ -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>