clang-tidy: Enable readability-qualified-auto check
This check aims to improve code readability by suggesting the use
of const auto * instead of auto for variables that are pointers
or iterators. This helps clarify the const-ness of the pointed-to
object or container elements.
Change-Id: I5fa46006aa5669834ebb144d32014f8882e563e3
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
diff --git a/scheduled_host_transition.cpp b/scheduled_host_transition.cpp
index 6f9edec..077d794 100644
--- a/scheduled_host_transition.cpp
+++ b/scheduled_host_transition.cpp
@@ -241,7 +241,7 @@
uint32_t /* revents */,
void* userdata)
{
- auto schedHostTran = static_cast<ScheduledHostTransition*>(userdata);
+ auto* schedHostTran = static_cast<ScheduledHostTransition*>(userdata);
std::array<char, 64> time{};