Browse Source

config_passthrough.cpp

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

7
src/config_passthrough.cpp

@ -31,7 +31,12 @@ template<>
int
Passthrough::from_string(const std::string &s_)
{
_data = PassthroughEnum::_from_string_nothrow(s_);
auto x = PassthroughEnum::_from_string_nothrow(s_);
if(!x)
return -EINVAL;
_data = x;
return 0;
}
Loading…
Cancel
Save