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; 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))