diff --git a/emper/io/IoContext.hpp b/emper/io/IoContext.hpp index f72395cc78779ff05c6277eed89f4dbdaf92d254..4f3d65789e36560f21697c33e69e1ffe41690a94 100644 --- a/emper/io/IoContext.hpp +++ b/emper/io/IoContext.hpp @@ -151,7 +151,7 @@ class IoContext : public Logger<LogSubsystem::IO> { */ template <CallerEnvironment callerEnvironment = CallerEnvironment::EMPER> void reapAndScheduleCompletions() { - auto completions = reapCompletions(); + auto completions = reapCompletions<callerEnvironment>(); if (!completions.empty()) { if constexpr (callerEnvironment == CallerEnvironment::EMPER) { runtime.schedule(completions.begin(), completions.end());