diff options
author | Patrick Venture <venture@google.com> | 2018-11-01 18:52:15 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-11-01 18:52:15 -0700 |
commit | 30047bf9647215951ba5dfe21ceb3e58a1b405a4 (patch) | |
tree | bbe9868b8130f57005c133b8241d62747965ccfc /elog_meta.hpp | |
parent | f8d38bbebe990802ed01434fc3df5ba755eac58a (diff) | |
download | phosphor-logging-30047bf9647215951ba5dfe21ceb3e58a1b405a4.tar.gz phosphor-logging-30047bf9647215951ba5dfe21ceb3e58a1b405a4.zip |
minor cleanup, std namespacing
Added std namespace to places where there is a cpp version.
Change-Id: I60a05a7c9cdcd79cfffc3c4968005fcbe34acf81
Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'elog_meta.hpp')
-rw-r--r-- | elog_meta.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elog_meta.hpp b/elog_meta.hpp index b44f52d..fe14a11 100644 --- a/elog_meta.hpp +++ b/elog_meta.hpp @@ -80,12 +80,12 @@ inline void if (metadata.end() != iter) { auto comp = [](const auto& first, const auto& second) { - return (strcmp(std::get<0>(first), second) < 0); + return (std::strcmp(std::get<0>(first), second) < 0); }; auto callout = std::lower_bound(callouts.begin(), callouts.end(), (iter->second).c_str(), comp); if ((callouts.end() != callout) && - !strcmp((iter->second).c_str(), std::get<0>(*callout))) + !std::strcmp((iter->second).c_str(), std::get<0>(*callout))) { constexpr auto ROOT = "/xyz/openbmc_project/inventory"; |