summaryrefslogtreecommitdiff
path: root/redfish-core/lib/health.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/lib/health.hpp')
-rw-r--r--redfish-core/lib/health.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/health.hpp b/redfish-core/lib/health.hpp
index 143b0fcd44..643ce7ff60 100644
--- a/redfish-core/lib/health.hpp
+++ b/redfish-core/lib/health.hpp
@@ -214,7 +214,7 @@ struct HealthPopulate : std::enable_shared_from_this<HealthPopulate>
{
std::shared_ptr<HealthPopulate> self = shared_from_this();
crow::connections::systemBus->async_method_call(
- [self](const boost::system::error_code ec,
+ [self](const boost::system::error_code& ec,
const dbus::utility::ManagedObjectType& resp) {
if (ec)
{