~aleteoryx/muditaos

49336a492515c867912384b0cd26cd6cb46c70e3 — Jakub Pyszczak 5 years ago 738c115
[EGD-6325] Fix linker error gcc 10

This PR covers linker error caused on gcc10 Release build
while trying to run unit test cellular parse result.
1 files changed, 5 insertions(+), 0 deletions(-)

M module-cellular/at/cmd/src/CLCC.cpp
M module-cellular/at/cmd/src/CLCC.cpp => module-cellular/at/cmd/src/CLCC.cpp +5 -0
@@ 46,6 46,11 @@ namespace at
            return magic_enum::enum_cast<T>(ret);
        }

        template auto CLCC::toEnum<ModemCall::CallDir>(const std::string &text) -> std::optional<ModemCall::CallDir>;
        template auto CLCC::toEnum<ModemCall::CallState>(const std::string &text)
            -> std::optional<ModemCall::CallState>;
        template auto CLCC::toEnum<ModemCall::CallMode>(const std::string &text) -> std::optional<ModemCall::CallMode>;

        result::CLCC &CLCC::parse(Result &base_result)
        {
            using namespace std::literals;