[llvm] r269409 - Yet another attempt to appease MSVC...
Chandler Carruth via llvm-commits
llvm-commits at lists.llvm.org
Fri May 13 04:39:37 PDT 2016
Author: chandlerc
Date: Fri May 13 06:39:37 2016
New Revision: 269409
URL: http://llvm.org/viewvc/llvm-project?rev=269409&view=rev
Log:
Yet another attempt to appease MSVC...
Modified:
llvm/trunk/include/llvm/ADT/Sequence.h
Modified: llvm/trunk/include/llvm/ADT/Sequence.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/Sequence.h?rev=269409&r1=269408&r2=269409&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/Sequence.h (original)
+++ llvm/trunk/include/llvm/ADT/Sequence.h Fri May 13 06:39:37 2016
@@ -37,7 +37,8 @@ public:
value_sequence_iterator() = default;
value_sequence_iterator(const value_sequence_iterator &) = default;
- value_sequence_iterator(value_sequence_iterator &&) = default;
+ value_sequence_iterator(value_sequence_iterator &&Arg)
+ : Value(std::move(Arg.Value)) {}
template <typename U>
value_sequence_iterator(U &&Value) : Value(std::forward<U>(Value)) {}
More information about the llvm-commits
mailing list