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/test_report.cpp b/tests/src/test_report.cpp
index 4e5e7ae..28ad3b6 100644
--- a/tests/src/test_report.cpp
+++ b/tests/src/test_report.cpp
@@ -98,7 +98,7 @@
}
std::vector<std::shared_ptr<interfaces::Metric>>
- getMetricsFromReadingParams(const ReadingParameters& params)
+ getMetricsFromReadingParams(const ReadingParameters& params) const
{
const auto metricParameters =
reportFactoryMock->convertMetricParams(params);