From 5341251b1c277a4d1a102c9b6bceeb76b7b9a092 Mon Sep 17 00:00:00 2001 From: Sylvain Chapeland Date: Tue, 26 Oct 2021 18:14:01 +0200 Subject: [PATCH] gcc8 fix --- test/testInfoLogger.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testInfoLogger.cxx b/test/testInfoLogger.cxx index 682506d..aa047b6 100644 --- a/test/testInfoLogger.cxx +++ b/test/testInfoLogger.cxx @@ -52,10 +52,10 @@ int main() // example use of context InfoLoggerContext ctxt({{InfoLoggerContext::FieldName::Facility, std::string("test1")}}); - theLog.log({{InfoLogger::Severity::Info}},ctxt,"infoLogger message - facility test1"); + theLog.log({InfoLogger::Severity::Info},ctxt,"infoLogger message - facility test1"); // reuse a context and overwrite some fields - theLog.log({{InfoLogger::Severity::Info}},InfoLoggerContext(ctxt,{{InfoLoggerContext::FieldName::Facility, std::string("test2")}}),"infoLogger message - facility test2"); + theLog.log({InfoLogger::Severity::Info},InfoLoggerContext(ctxt,{{InfoLoggerContext::FieldName::Facility, std::string("test2")}}),"infoLogger message - facility test2"); // c++ style theLog << "another test message " << InfoLogger::endm;