aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/generated/create_room.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-04-14 14:12:03 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-04-14 14:12:03 +0900
commit4ced9792f27ed3d891c1f7772ae30d9fe452dd79 (patch)
tree30c4372cdb8dab60c54804ebd0e2fd26efe07345 /lib/jobs/generated/create_room.h
parente5cb9b6380040e40de1b3766ac90296d3828375a (diff)
downloadlibquotient-4ced9792f27ed3d891c1f7772ae30d9fe452dd79.tar.gz
libquotient-4ced9792f27ed3d891c1f7772ae30d9fe452dd79.zip
jobs/generated: Overload toJson() instead of operator QJsonObject()/QJsonValue()
It slightly reduces the header interface and shortcuts the actual call chain (not that it had any performance implications, just easier reasoning).
Diffstat (limited to 'lib/jobs/generated/create_room.h')
-rw-r--r--lib/jobs/generated/create_room.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/jobs/generated/create_room.h b/lib/jobs/generated/create_room.h
index b479615a..fdb11ada 100644
--- a/lib/jobs/generated/create_room.h
+++ b/lib/jobs/generated/create_room.h
@@ -26,7 +26,6 @@ namespace QMatrixClient
QString medium;
QString address;
- operator QJsonObject() const;
};
struct StateEvent
@@ -35,7 +34,6 @@ namespace QMatrixClient
QString stateKey;
QJsonObject content;
- operator QJsonObject() const;
};
// End of inner data structures