ci: fix ci ubasan failure
remove an unused std::shared_ptr<Subscription>& from
void Subscription::resHandler(...)
Since it was just a reference, it was non-owning anyways and removing it
should not have any impact to the lifetime of the managed object.
Tested: Inspection only.
Change-Id: Iab57e456d5a7ae32305e1a38ddcc37c0f0156ed4
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/redfish-core/include/subscription.hpp b/redfish-core/include/subscription.hpp
index 2f93f74..e7f1715 100644
--- a/redfish-core/include/subscription.hpp
+++ b/redfish-core/include/subscription.hpp
@@ -75,8 +75,7 @@
~Subscription() = default;
// callback for subscription sendData
- void resHandler(const std::shared_ptr<Subscription>& /*unused*/,
- const crow::Response& res);
+ void resHandler(const crow::Response& res);
void sendHeartbeatEvent();
void scheduleNextHeartbeatEvent();