mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
Add BaseError assignment operators
The move assignment was implicitly generated and used in src/libstore/build/goal.cc:90:22: 90 | this->ex = std::move(*ex); Clang warns about this generated method being deprecated, so making them explicit fixes the warning.
This commit is contained in:
parent
b57c361097
commit
f070d68c32
1 changed files with 2 additions and 0 deletions
|
@ -127,6 +127,8 @@ protected:
|
|||
|
||||
public:
|
||||
BaseError(const BaseError &) = default;
|
||||
BaseError& operator=(const BaseError &) = default;
|
||||
BaseError& operator=(BaseError &&) = default;
|
||||
|
||||
template<typename... Args>
|
||||
BaseError(unsigned int status, const Args & ... args)
|
||||
|
|
Loading…
Reference in a new issue