diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-07-09 14:45:24 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-07-09 14:45:24 +0900 |
commit | 5bdfd6545c2c116c9260750cbc46ddc37eb455ef (patch) | |
tree | c8804cefed2ba15a57efefb7803680cb7a9cce5e /lib/events/event.h | |
parent | 3002c73eebb9a7bb6eb03b9c6ac31bc232ff595b (diff) | |
download | libquotient-5bdfd6545c2c116c9260750cbc46ddc37eb455ef.tar.gz libquotient-5bdfd6545c2c116c9260750cbc46ddc37eb455ef.zip |
Room: Revert from visit() to a combination of ifs and eventCasts
Easier to read, and also easier compiler diagnostics if things go wrong. Still using visit() for state events processing though - it maintains that all lambdas return some value.
Diffstat (limited to 'lib/events/event.h')
0 files changed, 0 insertions, 0 deletions