Skip to content

Commit

Permalink
fixed null ptr value
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Robledo Mejia committed Mar 21, 2024
1 parent 65ba45d commit f891074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scheduler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ 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() != 0) {
if (action->container() != nullptr) {
tracepoint(reactor_cpp, schedule_action, action->container()->fqn(), action->name(), tag);
} else {
tracepoint(reactor_cpp, schedule_action, action->environment()->name(), action->name(), tag);
Expand Down

0 comments on commit f891074

Please sign in to comment.