summaryrefslogtreecommitdiff
path: root/redfish-core/lib/pcie.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/lib/pcie.hpp')
-rw-r--r--redfish-core/lib/pcie.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/redfish-core/lib/pcie.hpp b/redfish-core/lib/pcie.hpp
index 5332a391ef..c3b7546ef2 100644
--- a/redfish-core/lib/pcie.hpp
+++ b/redfish-core/lib/pcie.hpp
@@ -169,7 +169,7 @@ inline void requestRoutesSystemPCIeDevice(App& app)
auto getPCIeDeviceCallback =
[asyncResp, device](
- const boost::system::error_code ec,
+ const boost::system::error_code& ec,
const dbus::utility::DBusPropertiesMap& pcieDevProperties) {
if (ec)
{
@@ -288,7 +288,7 @@ inline void requestRoutesSystemPCIeFunctionCollection(App& app)
auto getPCIeDeviceCallback =
[asyncResp, device](
- const boost::system::error_code ec,
+ const boost::system::error_code& ec,
const dbus::utility::DBusPropertiesMap& pcieDevProperties) {
if (ec)
{
@@ -364,7 +364,7 @@ inline void requestRoutesSystemPCIeFunction(App& app)
}
auto getPCIeDeviceCallback =
[asyncResp, device, function](
- const boost::system::error_code ec,
+ const boost::system::error_code& ec,
const dbus::utility::DBusPropertiesMap& pcieDevProperties) {
if (ec)
{