config_passthrough.cpp

This commit is contained in:
Antonio SJ Musumeci 2024-04-08 17:44:03 -05:00
parent 4d64b8c9ad
commit 86c0d10902

View file

@ -31,7 +31,7 @@ template<>
int
Passthrough::from_string(const std::string &s_)
{
auto x = PassthroughEnum::_from_string_nothrow(s_);
auto x = PassthroughEnum::_from_string_nothrow(s_.c_str());
if(!x)
return -EINVAL;