diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-11-01 20:59:52 +0300 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-11-01 20:59:52 +0300 |
commit | 2390082f7ca264aabeadc8f62bb71c39ce2b96f0 (patch) | |
tree | e8e69bce4eefb434ae244e73dde7e9e1c0df352e /events/receiptevent.cpp | |
parent | a275ef911b3f4d0334df0628324aee0081dd3a65 (diff) | |
download | libquotient-2390082f7ca264aabeadc8f62bb71c39ce2b96f0.tar.gz libquotient-2390082f7ca264aabeadc8f62bb71c39ce2b96f0.zip |
Event::isStateEvent(); fixed StateEvent::_prev always being initialised
Event::isStateEvent() is an easier way to make checking an event kind (instead of enumerating through all types corresponding to state changes). StateEvent::_prev (accessible through prev_content) should only be initialised if there's a previous state in the original JSON.
Diffstat (limited to 'events/receiptevent.cpp')
0 files changed, 0 insertions, 0 deletions