From 86c0d10902c5aa42d0137b2db45a071bde719d66 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Mon, 8 Apr 2024 17:44:03 -0500 Subject: [PATCH] config_passthrough.cpp --- src/config_passthrough.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config_passthrough.cpp b/src/config_passthrough.cpp index 0203d637..af076c34 100644 --- a/src/config_passthrough.cpp +++ b/src/config_passthrough.cpp @@ -31,7 +31,7 @@ template<> int Passthrough::from_string(const std::string &s_) { - auto x = PassthroughEnum::_from_string_nothrow(s_); + auto x = PassthroughEnum::_from_string_nothrow(s_.c_str()); if(!x) return -EINVAL;