commit | 891eaa7c24c974105e54543c4044457f09f82983 | [log] [tgz] |
---|---|---|
author | Ed Tanous <ed@tanous.net> | Mon Apr 08 17:29:32 2024 -0700 |
committer | Ed Tanous <ed@tanous.net> | Thu Apr 11 18:22:05 2024 +0000 |
tree | fc1374539786cf378726e5e0af9111485577c9fd | |
parent | 89144a3a2f411d66727858d677cbd4b7aa8d14ba [diff] |
Use rvalue reference Change-Id: Ie1a03bac54183b206bf27e37f1fed804601c8643 Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/redfish-core/lib/metric_report_definition.hpp b/redfish-core/lib/metric_report_definition.hpp index 643fd52..54d93cb 100644 --- a/redfish-core/lib/metric_report_definition.hpp +++ b/redfish-core/lib/metric_report_definition.hpp
@@ -652,7 +652,7 @@ class AddReport { public: - AddReport(AddReportArgs argsIn, + AddReport(AddReportArgs&& argsIn, const std::shared_ptr<bmcweb::AsyncResp>& asyncRespIn) : asyncResp(asyncRespIn), args(std::move(argsIn))