From 65ba45ddd1f3bdf73448e8e872cd5ce587cab5e1 Mon Sep 17 00:00:00 2001 From: Julian Robledo Mejia Date: Thu, 21 Mar 2024 12:46:58 +0100 Subject: [PATCH] Corrected format --- lib/scheduler.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/scheduler.cc b/lib/scheduler.cc index 02b612bf..e4de650b 100644 --- a/lib/scheduler.cc +++ b/lib/scheduler.cc @@ -461,10 +461,9 @@ void Scheduler::schedule_sync(BaseAction* action, const Tag& tag) { log_.debug() << "Schedule action " << action->fqn() << (action->is_logical() ? " synchronously " : " asynchronously ") << " with tag " << tag; reactor_assert(logical_time_ < tag); - if(action->container()){ + if (action->container() != 0) { tracepoint(reactor_cpp, schedule_action, action->container()->fqn(), action->name(), tag); - } - else{ + } else { tracepoint(reactor_cpp, schedule_action, action->environment()->name(), action->name(), tag); } Statistics::increment_scheduled_actions();