Browse Source

config_passthrough.cpp

passthrough
Antonio SJ Musumeci 9 months ago
parent
commit
86c0d10902
  1. 2
      src/config_passthrough.cpp

2
src/config_passthrough.cpp

@ -31,7 +31,7 @@ template<>
int int
Passthrough::from_string(const std::string &s_) 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) if(!x)
return -EINVAL; return -EINVAL;

Loading…
Cancel
Save