config_passthrough.cpp

This commit is contained in:
Antonio SJ Musumeci 2024-04-08 12:59:32 -05:00
parent 45dbec907b
commit 1252062f62

View file

@ -31,7 +31,7 @@ template<>
int
Passthrough::from_string(const std::string &s_)
{
_data = (int)BE_Passthrough::_from_string(s_);
_data = (int)BE_Passthrough::_from_string(s_.c_str());
if(s_ == "off")
_data = Passthrough::ENUM::OFF;
ef(s_ == "ro")