1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-10 12:36:01 +01:00

fix: Declare constructor as default

This commit is contained in:
Kirill Trofimov 2023-10-23 16:56:30 +03:00
parent 8b68bbb777
commit c82066cf73

View file

@ -57,7 +57,7 @@ protected:
std::function<void(std::vector<std::string>)> fun;
size_t arity;
Handler() {}
Handler() = default;
Handler(std::function<void(std::vector<std::string>)> && fun)
: fun(std::move(fun))