Browse Source

config_passthrough.cpp

passthrough
Antonio SJ Musumeci 7 months ago
parent
commit
e539ecaded
  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_)
{ {
_data = BE_Passthrough::_from_string(s_.c_str())._to_integral();
_data = BE_Passthrough::_from_string_nothrow(s_.c_str())._to_integral();
if(s_ == "off") if(s_ == "off")
_data = Passthrough::ENUM::OFF; _data = Passthrough::ENUM::OFF;
ef(s_ == "ro") ef(s_ == "ro")

Loading…
Cancel
Save