Added missing const
No functional changes.
Tested:
- Compiles and unit tests are passing
Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com>
Change-Id: I3b22bdf1b99fe5893459bb0fa57b261b272700a2
diff --git a/src/report_manager.hpp b/src/report_manager.hpp
index b12d335..5a850f0 100644
--- a/src/report_manager.hpp
+++ b/src/report_manager.hpp
@@ -24,9 +24,9 @@
const std::shared_ptr<sdbusplus::asio::object_server>& objServer);
~ReportManager() = default;
- ReportManager(ReportManager&) = delete;
+ ReportManager(const ReportManager&) = delete;
ReportManager(ReportManager&&) = delete;
- ReportManager& operator=(ReportManager&) = delete;
+ ReportManager& operator=(const ReportManager&) = delete;
ReportManager& operator=(ReportManager&&) = delete;
void removeReport(const interfaces::Report* report) override;
diff --git a/src/trigger_manager.hpp b/src/trigger_manager.hpp
index 5231546..d11e57a 100644
--- a/src/trigger_manager.hpp
+++ b/src/trigger_manager.hpp
@@ -18,9 +18,9 @@
std::unique_ptr<interfaces::JsonStorage> triggerStorage,
const std::shared_ptr<sdbusplus::asio::object_server>& objServer);
- TriggerManager(TriggerManager&) = delete;
+ TriggerManager(const TriggerManager&) = delete;
TriggerManager(TriggerManager&&) = delete;
- TriggerManager& operator=(TriggerManager&) = delete;
+ TriggerManager& operator=(const TriggerManager&) = delete;
TriggerManager& operator=(TriggerManager&&) = delete;
void removeTrigger(const interfaces::Trigger* trigger) override;