r263732 - Remove defaulted move ops, the type is zero-cost copyable anyway, so there's no need for specific move ops

David Blaikie via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 17 11:28:17 PDT 2016


Author: dblaikie
Date: Thu Mar 17 13:28:16 2016
New Revision: 263732

URL: http://llvm.org/viewvc/llvm-project?rev=263732&view=rev
Log:
Remove defaulted move ops, the type is zero-cost copyable anyway, so there's no need for specific move ops

(addresses MSVC build error, since MSVC 2013 can't generate default move
ops)

Modified:
    cfe/trunk/include/clang/AST/UnresolvedSet.h

Modified: cfe/trunk/include/clang/AST/UnresolvedSet.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/UnresolvedSet.h?rev=263732&r1=263731&r2=263732&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/UnresolvedSet.h (original)
+++ cfe/trunk/include/clang/AST/UnresolvedSet.h Thu Mar 17 13:28:16 2016
@@ -61,9 +61,7 @@ private:
   template <unsigned N> friend class UnresolvedSet;
   UnresolvedSetImpl() = default;
   UnresolvedSetImpl(const UnresolvedSetImpl &) = default;
-  UnresolvedSetImpl(UnresolvedSetImpl &&) = default;
   UnresolvedSetImpl &operator=(const UnresolvedSetImpl &) = default;
-  UnresolvedSetImpl &operator=(UnresolvedSetImpl &&) = default;
 
 public:
   // We don't currently support assignment through this iterator, so we might




More information about the cfe-commits mailing list