commit | 746c5b8aef98bf1d221a0a0d33c3f62edcb43572 | [log] [tgz] |
---|---|---|
author | Lakshmi Yadlapati <lakshmiy@us.ibm.com> | Mon Mar 06 16:07:28 2023 -0600 |
committer | Lakshmi Yadlapati <lakshmiy@us.ibm.com> | Mon Mar 06 23:02:31 2023 -0600 |
tree | 169ffe6835590cf12fb6ef3d6210df0748f09d84 | |
parent | 70cbdf538e658a2d9591303b02da9d6b78002cd9 [diff] [blame] |
Pass boost error_code by reference Id42ea4a90b6685a84818b87d1506c11256b3b9ae missed in couple of files Tested: None. Change-Id: I6cbd404132c34168cbc5901c9124ecc6ae6caacb Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
diff --git a/redfish-core/lib/virtual_media.hpp b/redfish-core/lib/virtual_media.hpp index c153f2f..73a9855 100644 --- a/redfish-core/lib/virtual_media.hpp +++ b/redfish-core/lib/virtual_media.hpp
@@ -95,7 +95,7 @@ { crow::connections::systemBus->async_method_call( [service, resName, aResp, - handler](const boost::system::error_code ec, + handler](const boost::system::error_code& ec, const dbus::utility::ManagedObjectType& subtree) { if (ec) {