diff options
Diffstat (limited to 'redfish-core/lib/pcie.hpp')
-rw-r--r-- | redfish-core/lib/pcie.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/pcie.hpp b/redfish-core/lib/pcie.hpp index e8da2195a8..9392916c47 100644 --- a/redfish-core/lib/pcie.hpp +++ b/redfish-core/lib/pcie.hpp @@ -221,7 +221,7 @@ inline void getPCIeDeviceSlotPath( dbus::utility::getAssociatedSubTreePaths( associationPath, sdbusplus::message::object_path(inventoryPath), 0, pcieSlotInterface, - [callback, asyncResp, pcieDevicePath]( + [callback = std::move(callback), asyncResp, pcieDevicePath]( const boost::system::error_code& ec, const dbus::utility::MapperGetSubTreePathsResponse& endpoints) { if (ec) |