From 9d9a5418f09873bdb273077064a558b2b429820a Mon Sep 17 00:00:00 2001 From: Trent Houliston Date: Thu, 19 Dec 2024 11:48:36 +1100 Subject: [PATCH] getting a bit overkill there clang-tidy... --- src/util/Logger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/Logger.cpp b/src/util/Logger.cpp index 71345e53..40dee7bd 100644 --- a/src/util/Logger.cpp +++ b/src/util/Logger.cpp @@ -20,7 +20,7 @@ namespace util { return calling_reactor; } // Get the current task - const auto current_task = threading::ReactionTask::get_current_task(); + const auto* const current_task = threading::ReactionTask::get_current_task(); return current_task != nullptr && current_task->parent != nullptr ? ¤t_task->parent->reactor : nullptr; }