diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-08-10 21:54:15 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-09-04 18:42:11 +0200 |
commit | 7251d6856993a08dd8ec1d4965a310e4cf8e97d3 (patch) | |
tree | d5647a3990f6f00c4d1ef459ac9c6f54e87f042a /lib/eventitem.h | |
parent | bde38f86337d6f49b34b38016ab088d2f48ec371 (diff) | |
download | libquotient-7251d6856993a08dd8ec1d4965a310e4cf8e97d3.tar.gz libquotient-7251d6856993a08dd8ec1d4965a310e4cf8e97d3.zip |
StateEventBase -> StateEvent
Now that StateEvent name is vacated, the naming for event core classes
can be completely unified: Event, RoomEvent, CallEvent, StateEvent.
Diffstat (limited to 'lib/eventitem.h')
-rw-r--r-- | lib/eventitem.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/eventitem.h b/lib/eventitem.h index 445f8265..96e45b38 100644 --- a/lib/eventitem.h +++ b/lib/eventitem.h @@ -95,10 +95,9 @@ private: }; template <> -inline const StateEventBase* EventItemBase::viewAs<StateEventBase>() const +inline const StateEvent* EventItemBase::viewAs<StateEvent>() const { - return evt->isStateEvent() ? weakPtrCast<const StateEventBase>(evt) - : nullptr; + return evt->isStateEvent() ? weakPtrCast<const StateEvent>(evt) : nullptr; } template <> |