aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/requestdata.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-02-11 08:05:31 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-02-11 08:05:31 +0900
commit1e273212eca1dfa294d1a4bb9271261bf5671aa3 (patch)
tree7880f72b387f380c529aeef6071673e4e186b9b9 /lib/jobs/requestdata.cpp
parentf438d37b169965ee0a9937b5178560a653f1197b (diff)
downloadlibquotient-1e273212eca1dfa294d1a4bb9271261bf5671aa3.tar.gz
libquotient-1e273212eca1dfa294d1a4bb9271261bf5671aa3.zip
SimpleContent: don't derive from Base as it gives zero added value
Originally there was an idea to make a common base class for all event content. Aside from really trivial unification of toJson() this doesn't span across various types of events, and since state events use static, rather than dynamic, polymorphism (StateEvent<> is a template with the aggregated content vs. RoomMessageEvent with the aggregated pointer-to-content-base), there's no considerable value in using the base class. If state events start using the same approach as message events, this may be brought back but not until then.
Diffstat (limited to 'lib/jobs/requestdata.cpp')
0 files changed, 0 insertions, 0 deletions