summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2017-03-16 05:10:05 -0500
committerDeepak Kodihalli <dkodihal@in.ibm.com>2017-03-16 05:10:05 -0500
commita5d8d15cb7b4e080a7d76d18a0fcb233d41eb1fa (patch)
tree6e083d99d935e7cbe86a7589be6ce499ed8a9bdf
parent153311005f6c4f0de710adebaf93a98cc2ca8ebc (diff)
downloadphosphor-logging-a5d8d15cb7b4e080a7d76d18a0fcb233d41eb1fa.tar.gz
phosphor-logging-a5d8d15cb7b4e080a7d76d18a0fcb233d41eb1fa.zip
Fix incorrect template specialization
Change-Id: I15c18d8e241226b1e9fcbf9c36c703b47b488ce5 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
-rw-r--r--elog_meta.cpp2
-rw-r--r--elog_meta.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/elog_meta.cpp b/elog_meta.cpp
index b7b75a1..5dfcab0 100644
--- a/elog_meta.cpp
+++ b/elog_meta.cpp
@@ -15,7 +15,7 @@ namespace associations
template <>
void build<xyz::openbmc_project::Common::
Callout::Device::CALLOUT_DEVICE_PATH>(
- std::string&& match,
+ const std::string& match,
const std::vector<std::string>& data,
AssociationList& list)
{
diff --git a/elog_meta.hpp b/elog_meta.hpp
index 632a049..b947948 100644
--- a/elog_meta.hpp
+++ b/elog_meta.hpp
@@ -105,7 +105,7 @@ inline void build<example::xyz::openbmc_project::
template <>
void build<xyz::openbmc_project::Common::
Callout::Device::CALLOUT_DEVICE_PATH>(
- std::string&& match,
+ const std::string& match,
const std::vector<std::string>& data,
AssociationList& list);
OpenPOWER on IntegriCloud