summaryrefslogtreecommitdiff
path: root/redfish-core/lib/telemetry_service.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/lib/telemetry_service.hpp')
-rw-r--r--redfish-core/lib/telemetry_service.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/telemetry_service.hpp b/redfish-core/lib/telemetry_service.hpp
index 02d7f38f23..f9df850ace 100644
--- a/redfish-core/lib/telemetry_service.hpp
+++ b/redfish-core/lib/telemetry_service.hpp
@@ -39,7 +39,7 @@ inline void handleTelemetryServiceGet(
*crow::connections::systemBus, telemetry::service,
"/xyz/openbmc_project/Telemetry/Reports",
"xyz.openbmc_project.Telemetry.ReportManager",
- [asyncResp](const boost::system::error_code ec,
+ [asyncResp](const boost::system::error_code& ec,
const dbus::utility::DBusPropertiesMap& ret) {
if (ec == boost::system::errc::host_unreachable)
{