diff options
author | Qyriad <qyriad@qyriad.me> | 2024-05-20 00:11:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@lix-systems> | 2024-05-20 00:11:12 +0000 |
commit | 589953e832c4b628e5c409c037d0d7f6a2a3467f (patch) | |
tree | bb99048de9b6734b4624347d6ccc6782c4353219 /src | |
parent | bfb91db4f6a580b4f90a511a79185db4aa3f34d3 (diff) | |
parent | 4eb6779ea8025610d6b2040362e5950c722e4342 (diff) |
Merge "fix -Wdeprecated-copy on clang (BaseError copy assignment)" into main
Diffstat (limited to 'src')
-rw-r--r-- | src/libutil/error.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/error.hh b/src/libutil/error.hh index 924366580..323365d65 100644 --- a/src/libutil/error.hh +++ b/src/libutil/error.hh @@ -110,6 +110,8 @@ protected: public: BaseError(const BaseError &) = default; + BaseError & operator=(BaseError const & rhs) = default; + template<typename... Args> BaseError(unsigned int status, const Args & ... args) : err { .level = lvlError, .msg = HintFmt(args...), .status = status } |