Browse Source

config_passthrough.cpp

passthrough
Antonio SJ Musumeci 7 months ago
parent
commit
016b980199
  1. 4
      src/config_passthrough.cpp

4
src/config_passthrough.cpp

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

Loading…
Cancel
Save