summaryrefslogtreecommitdiffstats
path: root/elog_meta.cpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-11-01 18:52:15 -0700
committerPatrick Venture <venture@google.com>2018-11-01 18:52:15 -0700
commit30047bf9647215951ba5dfe21ceb3e58a1b405a4 (patch)
treebbe9868b8130f57005c133b8241d62747965ccfc /elog_meta.cpp
parentf8d38bbebe990802ed01434fc3df5ba755eac58a (diff)
downloadphosphor-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.cpp')
-rw-r--r--elog_meta.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/elog_meta.cpp b/elog_meta.cpp
index 98425d4..f2883b7 100644
--- a/elog_meta.cpp
+++ b/elog_meta.cpp
@@ -24,12 +24,12 @@ void build<xyz::openbmc_project::Common::Callout::Device::CALLOUT_DEVICE_PATH>(
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)))
{
list.emplace_back(std::make_tuple(
CALLOUT_FWD_ASSOCIATION, CALLOUT_REV_ASSOCIATION,
OpenPOWER on IntegriCloud