diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-27 19:38:15 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-27 19:38:15 -0800 |
commit | 10f3ea0008a4563c2baa4f29954c285d2d53d7dc (patch) | |
tree | 8aedadea55a31de188be16a1ec140cdbc76adba5 /src/event.h | |
parent | 88a785e32117081b91b813ac6b5437deb33ef0f7 (diff) |
Mark a bunch of constructors as explicit
This prevents undesired implicit conversions
Diffstat (limited to 'src/event.h')
-rw-r--r-- | src/event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.h b/src/event.h index 80737596..bf068c5d 100644 --- a/src/event.h +++ b/src/event.h @@ -87,7 +87,7 @@ public: */ wcstring_list_t arguments; - event_t(int t); + explicit event_t(int t); ~event_t(); static event_t signal_event(int sig); |