diff options
author | crupest <crupest@outlook.com> | 2020-04-02 20:51:19 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-04-02 20:51:19 +0800 |
commit | e38ea3de29ede0e45aab8e595da5e8e3782a396d (patch) | |
tree | 1e0fae414abea5b5cf1fd4fb4194f8c6a9795d7e /src/ui/click_detector.cpp | |
parent | 7dd9494e957af8280f7221395333f886c500edf5 (diff) | |
download | cru-e38ea3de29ede0e45aab8e595da5e8e3782a396d.tar.gz cru-e38ea3de29ede0e45aab8e595da5e8e3782a396d.tar.bz2 cru-e38ea3de29ede0e45aab8e595da5e8e3782a396d.zip |
...
Diffstat (limited to 'src/ui/click_detector.cpp')
-rw-r--r-- | src/ui/click_detector.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/click_detector.cpp b/src/ui/click_detector.cpp index b620201c..3f342a31 100644 --- a/src/ui/click_detector.cpp +++ b/src/ui/click_detector.cpp @@ -2,12 +2,11 @@ #include "cru/common/logger.hpp" -#include <cassert> #include <optional> namespace cru::ui { ClickDetector::ClickDetector(Control* control) { - assert(control); + Expects(control); control_ = control; event_rovoker_guards_.push_back( |