Skip to content

Commit 5341251

Browse files
committed
gcc8 fix
1 parent a57c285 commit 5341251

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/testInfoLogger.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ int main()
5252

5353
// example use of context
5454
InfoLoggerContext ctxt({{InfoLoggerContext::FieldName::Facility, std::string("test1")}});
55-
theLog.log({{InfoLogger::Severity::Info}},ctxt,"infoLogger message - facility test1");
55+
theLog.log({InfoLogger::Severity::Info},ctxt,"infoLogger message - facility test1");
5656

5757
// reuse a context and overwrite some fields
58-
theLog.log({{InfoLogger::Severity::Info}},InfoLoggerContext(ctxt,{{InfoLoggerContext::FieldName::Facility, std::string("test2")}}),"infoLogger message - facility test2");
58+
theLog.log({InfoLogger::Severity::Info},InfoLoggerContext(ctxt,{{InfoLoggerContext::FieldName::Facility, std::string("test2")}}),"infoLogger message - facility test2");
5959

6060
// c++ style
6161
theLog << "another test message " << InfoLogger::endm;

0 commit comments

Comments
 (0)