config_passthrough.cpp

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

View file

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