Merge "fix -Wdeprecated-copy on clang (BaseError copy assignment)" into main
This commit is contained in:
commit
589953e832
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue