diff options
Diffstat (limited to 'include/cru/common/event.hpp')
-rw-r--r-- | include/cru/common/event.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/cru/common/event.hpp b/include/cru/common/event.hpp index bc8670df..8389b38e 100644 --- a/include/cru/common/event.hpp +++ b/include/cru/common/event.hpp @@ -4,7 +4,6 @@ #include "self_resolvable.hpp" #include <algorithm> -#include <cassert> #include <functional> #include <memory> #include <utility> @@ -198,7 +197,7 @@ class EventRevokerGuard { EventRevoker Get() { // revoker is only null when this is moved // you shouldn't use a moved instance - assert(revoker_); + Expects(revoker_); return *revoker_; } |