diff options
Diffstat (limited to 'lib/csapi/definitions/client_device.h')
-rw-r--r-- | lib/csapi/definitions/client_device.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csapi/definitions/client_device.h b/lib/csapi/definitions/client_device.h index ba65483d..9f10888a 100644 --- a/lib/csapi/definitions/client_device.h +++ b/lib/csapi/definitions/client_device.h @@ -31,9 +31,9 @@ namespace QMatrixClient QJsonObject toJson(const Device& pod); - template <> struct FromJson<Device> + template <> struct FromJsonObject<Device> { - Device operator()(const QJsonValue& jv); + Device operator()(const QJsonObject& jo) const; }; } // namespace QMatrixClient |