aboutsummaryrefslogtreecommitdiff
path: root/lib/converters.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-11-28 15:44:41 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-11-28 15:44:41 +0100
commite12a7aac030aaf53122da4b1bd55f3a97325f624 (patch)
treeb9fbecdb08cd44e78d3ac31b7c36a61563a0066f /lib/converters.h
parentab91944cc71a72699d0168b7c472326e59319477 (diff)
downloadlibquotient-e12a7aac030aaf53122da4b1bd55f3a97325f624.tar.gz
libquotient-e12a7aac030aaf53122da4b1bd55f3a97325f624.zip
Fix CI breakage caused by the previous commit
Diffstat (limited to 'lib/converters.h')
-rw-r--r--lib/converters.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/converters.h b/lib/converters.h
index 8ec0fa81..f6d56527 100644
--- a/lib/converters.h
+++ b/lib/converters.h
@@ -62,6 +62,8 @@ inline T fromJson(const QJsonValue& jv)
return JsonConverter<T>::load(jv);
}
+inline QJsonValue fromJson(const QJsonValue& jv) { return jv; }
+
template <typename T>
inline T fromJson(const QJsonDocument& jd)
{