diff options
Diffstat (limited to 'redfish-core/lib/hypervisor_system.hpp')
-rw-r--r-- | redfish-core/lib/hypervisor_system.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/hypervisor_system.hpp b/redfish-core/lib/hypervisor_system.hpp index 1a3d6cbb54..2b3714bae4 100644 --- a/redfish-core/lib/hypervisor_system.hpp +++ b/redfish-core/lib/hypervisor_system.hpp @@ -315,7 +315,7 @@ void getHypervisorIfaceData(const std::string& ethIfaceId, dbus::utility::getManagedObjects( "xyz.openbmc_project.Settings", path, [ethIfaceId{std::string{ethIfaceId}}, - callback{std::forward<CallbackFunc>(callback)}]( + callback = std::forward<CallbackFunc>(callback)]( const boost::system::error_code& ec, const dbus::utility::ManagedObjectType& resp) mutable { EthernetInterfaceData ethData{}; |