Re-add (user defined) move ops to UnresolvedSetImpl to allow UnresolvedSet to be implicitly movable

llvm-svn: 263747
This commit is contained in:
David Blaikie 2016-03-17 20:45:38 +00:00
parent fde79b40c2
commit 2522f8bea4
1 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,10 @@ private:
UnresolvedSetImpl(const UnresolvedSetImpl &) = default;
UnresolvedSetImpl &operator=(const UnresolvedSetImpl &) = default;
// FIXME: Switch these to "= default" once MSVC supports generating move ops
UnresolvedSetImpl(UnresolvedSetImpl &&) {}
UnresolvedSetImpl &operator=(UnresolvedSetImpl &&) { return *this; }
public:
// We don't currently support assignment through this iterator, so we might
// as well use the same implementation twice.