diff --git a/include/vast/repl/command.hpp b/include/vast/repl/command.hpp index fe0798e966..58c4ae663c 100644 --- a/include/vast/repl/command.hpp +++ b/include/vast/repl/command.hpp @@ -112,9 +112,9 @@ namespace vast::repl if constexpr (std::tuple_size_v< params_storage > == 0) { VAST_UNREACHABLE(("unknown param name " + std::string(name)).c_str()); } else { - using current = typename std::tuple_element< 0, params_storage >::type; + //using current = ; - if constexpr (current::param_name == name) { + if constexpr ((std::tuple_element< 0, params_storage >::type::param_name) == name) { return util::head(params).value; } else { return get_param< name >(util::tail(params));