[llvm] r269406 - Try to fix MSVC by explicitly providing copy and move constructors so it
Chandler Carruth via llvm-commits
llvm-commits at lists.llvm.org
Fri May 13 03:55:25 PDT 2016
Author: chandlerc
Date: Fri May 13 05:55:23 2016
New Revision: 269406
URL: http://llvm.org/viewvc/llvm-project?rev=269406&view=rev
Log:
Try to fix MSVC by explicitly providing copy and move constructors so it
doesn't try to use the converting constructor template for those
operations.
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=269406&r1=269405&r2=269406&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/Sequence.h (original)
+++ llvm/trunk/include/llvm/ADT/Sequence.h Fri May 13 05:55:23 2016
@@ -36,6 +36,8 @@ public:
typedef typename BaseT::reference reference;
value_sequence_iterator() = default;
+ value_sequence_iterator(const value_sequence_iterator &) = default;
+ value_sequence_iterator(value_sequence_iterator &&) = default;
template <typename U>
value_sequence_iterator(U &&Value) : Value(std::forward<U>(Value)) {}
More information about the llvm-commits
mailing list