diff --git a/clang/include/clang/AST/UnresolvedSet.h b/clang/include/clang/AST/UnresolvedSet.h index 1369725ab4e96..46daf32b7eba2 100644 --- a/clang/include/clang/AST/UnresolvedSet.h +++ b/clang/include/clang/AST/UnresolvedSet.h @@ -71,9 +71,8 @@ class UnresolvedSetImpl { 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; } + UnresolvedSetImpl(UnresolvedSetImpl &&) = default; + UnresolvedSetImpl &operator=(UnresolvedSetImpl &&) = default; public: // We don't currently support assignment through this iterator, so we might