diff --git a/include/vast/repl/command.hpp b/include/vast/repl/command.hpp index fe0798e966..59511240d3 100644 --- a/include/vast/repl/command.hpp +++ b/include/vast/repl/command.hpp @@ -114,7 +114,7 @@ namespace vast::repl } else { using current = typename std::tuple_element< 0, params_storage >::type; - if constexpr (current::param_name == name) { + if constexpr (std::string_view(current::param_name) == name) { return util::head(params).value; } else { return get_param< name >(util::tail(params));