diff --git a/lib/src/dexode/eventbus/permission/PostponeBus.hpp b/lib/src/dexode/eventbus/permission/PostponeBus.hpp index 54e51a9..f27d5ba 100644 --- a/lib/src/dexode/eventbus/permission/PostponeBus.hpp +++ b/lib/src/dexode/eventbus/permission/PostponeBus.hpp @@ -3,6 +3,7 @@ // #pragma once +#include #include #include "dexode/eventbus/Bus.hpp" @@ -25,6 +26,7 @@ public: template constexpr bool postpone(Event event) { + assert(_hideBus != nullptr); return _hideBus->postpone(event); }