Merge "fix -Wdeprecated-copy on clang (BaseError copy assignment)" into main

This commit is contained in:
Qyriad 2024-05-20 00:11:12 +00:00 committed by Gerrit Code Review
commit 589953e832

View file

@ -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 }