diff --git a/userspace/falco/app/state.h b/userspace/falco/app/state.h index 6a57cf20ba4..ffe7ef77ae3 100644 --- a/userspace/falco/app/state.h +++ b/userspace/falco/app/state.h @@ -70,10 +70,10 @@ struct state { } - state(const std::string& cmd, const falco::app::options& opts): - cmdline(cmd), - options(opts) + state(const std::string& cmd, const falco::app::options& opts): state() { + cmdline = cmd; + options = opts; } std::string cmdline;