Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 87bf019

Browse files
committed
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
1 parent 2a4f206 commit 87bf019

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

unittests/ADT/STLExtrasTest.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ template <> struct CanCopy<false> {
136136
CanCopy(const CanCopy &) = delete;
137137

138138
CanCopy() = default;
139-
CanCopy(CanCopy &&) = default;
139+
// FIXME: Use '= default' when we drop MSVC 2013.
140+
CanCopy(CanCopy &&) {};
140141
};
141142

142143
template <bool Moveable, bool Copyable>

0 commit comments

Comments
 (0)