diff options
Diffstat (limited to 'src/common-lib/exception.h')
-rw-r--r-- | src/common-lib/exception.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common-lib/exception.h b/src/common-lib/exception.h index c1959ab3..4383c8d1 100644 --- a/src/common-lib/exception.h +++ b/src/common-lib/exception.h @@ -29,7 +29,9 @@ public: explicit Exception(const QFileDevice &file, const char *errorString) noexcept; Exception(const Exception ©) noexcept; + Exception &operator=(const Exception ©) noexcept; Exception(Exception &&move) noexcept; + Exception &operator=(Exception &&move) noexcept; ~Exception() noexcept override; @@ -74,7 +76,7 @@ public: // this will generate compiler errors if there's no suitable QString::arg(const Ts &) overload template <typename... Ts> Exception &arg(const Ts & ...ts) noexcept { - m_errorString = m_errorString.arg(ts...); + m_errorString = m_errorString.arg(ts...); // AXIVION Line Qt-QStringArg: Axivion thinks ts is an int return *this; } |