config_passthrough.cpp

This commit is contained in:
Antonio SJ Musumeci 2024-04-08 16:40:09 -05:00
parent 0686c18fe4
commit e539ecaded

View file

@ -31,7 +31,7 @@ template<>
int
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")
_data = Passthrough::ENUM::OFF;
ef(s_ == "ro")