From c173259a73fa250f51d5dd345d5be019fdef4404 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Mon, 8 Apr 2024 10:27:43 -0500 Subject: [PATCH] config_passthrough.cpp --- src/config_passthrough.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/config_passthrough.cpp b/src/config_passthrough.cpp index 94401e0d..cb730f7c 100644 --- a/src/config_passthrough.cpp +++ b/src/config_passthrough.cpp @@ -27,20 +27,6 @@ Passthrough::to_string() const BE_Passthrough x = BE_Passthrough::_from_integral(_data); return x._to_string(); - - switch(_data) - { - case Passthrough::ENUM::OFF: - return "off"; - case Passthrough::ENUM::RO: - return "ro"; - case Passthrough::ENUM::WO: - return "wo"; - case Passthrough::ENUM::RW: - return "rw"; - } - - return "invalid"; } template<>