clang-tidy: Improve const-correctness
Updated member functions to better reflect const-correctness,
enhancing code clarity and maintainability.
Change-Id: Ib3fdbd2164cb76ad7f0c454d37dd5c08652f78fc
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/tests/src/mocks/trigger_factory_mock.hpp b/tests/src/mocks/trigger_factory_mock.hpp
index d3d83e5..a42747c 100644
--- a/tests/src/mocks/trigger_factory_mock.hpp
+++ b/tests/src/mocks/trigger_factory_mock.hpp
@@ -57,7 +57,7 @@
auto& expectMake(
std::optional<TriggerParams> paramsOpt,
const testing::Matcher<interfaces::TriggerManager&>& tm,
- const testing::Matcher<interfaces::JsonStorage&>& triggerStorage)
+ const testing::Matcher<interfaces::JsonStorage&>& triggerStorage) const
{
using namespace testing;