diff options
Diffstat (limited to 'gnu/llvm/tools/clang/include/clang/AST/UnresolvedSet.h')
| -rw-r--r-- | gnu/llvm/tools/clang/include/clang/AST/UnresolvedSet.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/llvm/tools/clang/include/clang/AST/UnresolvedSet.h b/gnu/llvm/tools/clang/include/clang/AST/UnresolvedSet.h index 26ee1cf71c8..c1be2aa0f20 100644 --- a/gnu/llvm/tools/clang/include/clang/AST/UnresolvedSet.h +++ b/gnu/llvm/tools/clang/include/clang/AST/UnresolvedSet.h @@ -59,8 +59,13 @@ class UnresolvedSetImpl { // UnresolvedSet. private: template <unsigned N> friend class UnresolvedSet; - UnresolvedSetImpl() {} - UnresolvedSetImpl(const UnresolvedSetImpl &) {} + UnresolvedSetImpl() = default; + 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 |
