clang-tidy: Enable readability checks on repo
The readability-* checks in Clang-Tidy focus on improving code
readability by enforcing guidelines and suggesting improvements
that can enhance the clarity and maintainability of C++ code.
This enables readability-const-return-type check.
Change-Id: I4737f07188f6a173678dbe0192914dd5df0dd338
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
diff --git a/systemd_target_signal.hpp b/systemd_target_signal.hpp
index cddb358..4839d55 100644
--- a/systemd_target_signal.hpp
+++ b/systemd_target_signal.hpp
@@ -65,8 +65,8 @@
*
* @return valid pointer to error to log, otherwise nullptr
*/
- const std::string processError(const std::string& unit,
- const std::string& result);
+ std::string processError(const std::string& unit,
+ const std::string& result);
private:
/** @brief Start BMC Quiesce Target to indicate critical service failure */