From 49336a492515c867912384b0cd26cd6cb46c70e3 Mon Sep 17 00:00:00 2001 From: Jakub Pyszczak Date: Thu, 25 Mar 2021 12:26:53 +0100 Subject: [PATCH] [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. --- module-cellular/at/cmd/src/CLCC.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/module-cellular/at/cmd/src/CLCC.cpp b/module-cellular/at/cmd/src/CLCC.cpp index 4ed114cc49aea29e60d7eb482366ecae06e91aea..8a2238d40fb713ce2edbd9fdce27e7e882d8bf3c 100644 --- a/module-cellular/at/cmd/src/CLCC.cpp +++ b/module-cellular/at/cmd/src/CLCC.cpp @@ -46,6 +46,11 @@ namespace at return magic_enum::enum_cast(ret); } + template auto CLCC::toEnum(const std::string &text) -> std::optional; + template auto CLCC::toEnum(const std::string &text) + -> std::optional; + template auto CLCC::toEnum(const std::string &text) -> std::optional; + result::CLCC &CLCC::parse(Result &base_result) { using namespace std::literals;