From 30047bf9647215951ba5dfe21ceb3e58a1b405a4 Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Thu, 1 Nov 2018 18:52:15 -0700 Subject: minor cleanup, std namespacing Added std namespace to places where there is a cpp version. Change-Id: I60a05a7c9cdcd79cfffc3c4968005fcbe34acf81 Signed-off-by: Patrick Venture --- logging_test.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'logging_test.cpp') diff --git a/logging_test.cpp b/logging_test.cpp index 3a144f8..279d02b 100644 --- a/logging_test.cpp +++ b/logging_test.cpp @@ -3,6 +3,7 @@ #include #include +#include #include #include #include @@ -202,7 +203,7 @@ int elog_test() void commitError(const char* text) { - if (strcmp(text, "AutoTestSimple") == 0) + if (std::strcmp(text, "AutoTestSimple") == 0) { try { @@ -216,7 +217,7 @@ void commitError(const char* text) commit(e.name()); } } - else if (strcmp(text, "AutoTestCreateAndCommit") == 0) + else if (std::strcmp(text, "AutoTestCreateAndCommit") == 0) { report( example::xyz::openbmc_project::Example::Elog::AutoTestSimple:: -- cgit v1.2.1