mirror of
https://github.com/NixOS/nix
synced 2025-07-01 16:41:47 +02:00
fix: Declare constructor as default
This commit is contained in:
parent
8b68bbb777
commit
c82066cf73
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ protected:
|
||||||
std::function<void(std::vector<std::string>)> fun;
|
std::function<void(std::vector<std::string>)> fun;
|
||||||
size_t arity;
|
size_t arity;
|
||||||
|
|
||||||
Handler() {}
|
Handler() = default;
|
||||||
|
|
||||||
Handler(std::function<void(std::vector<std::string>)> && fun)
|
Handler(std::function<void(std::vector<std::string>)> && fun)
|
||||||
: fun(std::move(fun))
|
: fun(std::move(fun))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue