diff options
Diffstat (limited to 'redfish-core/lib/cable.hpp')
-rw-r--r-- | redfish-core/lib/cable.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/lib/cable.hpp b/redfish-core/lib/cable.hpp index 0fc36b415c..423ea9dffb 100644 --- a/redfish-core/lib/cable.hpp +++ b/redfish-core/lib/cable.hpp @@ -24,7 +24,7 @@ namespace redfish */ inline void fillCableProperties(crow::Response& resp, - const boost::system::error_code ec, + const boost::system::error_code& ec, const dbus::utility::DBusPropertiesMap& properties) { if (ec) @@ -97,7 +97,7 @@ inline void *crow::connections::systemBus, service, cableObjectPath, interface, [asyncResp]( - const boost::system::error_code ec, + const boost::system::error_code& ec, const dbus::utility::DBusPropertiesMap& properties) { fillCableProperties(asyncResp->res, ec, properties); }); |