diff --git a/src/libs/utils/result.h b/src/libs/utils/result.h index 12c2e7302df..f638f8238f3 100644 --- a/src/libs/utils/result.h +++ b/src/libs/utils/result.h @@ -19,8 +19,13 @@ class QTCREATOR_UTILS_EXPORT Result public: Result(bool success, const QString &errorString); Result(const expected_str &res); + Result(const Result &) = default; + Result(Result &&) = default; ~Result(); + Result &operator=(const Result &) = default; + Result &operator=(Result &&) = default; + static const Result Ok; static Result Error(const QString &errorString) { return Result(errorString); };