Skip to content

Commit 7f43384

Browse files
authored
Merge pull request #78 from sy-c/master
minor gcc8 fix
2 parents a57c285 + 5341251 commit 7f43384

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)