diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-11-14 20:01:36 +0100 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-11-14 20:01:36 +0100 |
commit | 8f4c7f67930be402836ca7a6266ba4277266a12d (patch) | |
tree | 23189fa6955374d91a1e2ad0aec15018c1a0c192 /lib/events/roompowerlevelsevent.h | |
parent | da4bc5afcfeb9e7fa1253720839291194578bd4a (diff) | |
download | libquotient-8f4c7f67930be402836ca7a6266ba4277266a12d.tar.gz libquotient-8f4c7f67930be402836ca7a6266ba4277266a12d.zip |
Drop EventFactory<RoomPowerLevelsEvent>
RoomPowerLevelsEvent is not used in csapi/ classes so the factory is of
no use either.
Diffstat (limited to 'lib/events/roompowerlevelsevent.h')
-rw-r--r-- | lib/events/roompowerlevelsevent.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/events/roompowerlevelsevent.h b/lib/events/roompowerlevelsevent.h index f0f7207f..b832230e 100644 --- a/lib/events/roompowerlevelsevent.h +++ b/lib/events/roompowerlevelsevent.h @@ -62,15 +62,5 @@ public: private: }; -template <> -class EventFactory<RoomPowerLevelsEvent> { -public: - static event_ptr_tt<RoomPowerLevelsEvent> make(const QJsonObject& json, - const QString&) - { - return makeEvent<RoomPowerLevelsEvent>(json); - } -}; - REGISTER_EVENT_TYPE(RoomPowerLevelsEvent) } // namespace Quotient |