aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/definitions/device_keys.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/definitions/device_keys.h')
-rw-r--r--lib/csapi/definitions/device_keys.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csapi/definitions/device_keys.h b/lib/csapi/definitions/device_keys.h
index 4b223609..6023e7e8 100644
--- a/lib/csapi/definitions/device_keys.h
+++ b/lib/csapi/definitions/device_keys.h
@@ -37,9 +37,9 @@ namespace QMatrixClient
QJsonObject toJson(const DeviceKeys& pod);
- template <> struct FromJson<DeviceKeys>
+ template <> struct FromJsonObject<DeviceKeys>
{
- DeviceKeys operator()(const QJsonValue& jv);
+ DeviceKeys operator()(const QJsonObject& jo) const;
};
} // namespace QMatrixClient