aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-08-01 13:51:58 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-08-01 13:52:11 +0200
commit88dcdd3ef0af4030a963b08bf8c5bff0784c320d (patch)
tree56b392534aea7c016df2605d0cc2ed128c6b8abe
parent150df8ce08976ac7b8c25dbed1b965b7c2f65249 (diff)
downloadlibquotient-88dcdd3ef0af4030a963b08bf8c5bff0784c320d.tar.gz
libquotient-88dcdd3ef0af4030a963b08bf8c5bff0784c320d.zip
Fix FTBFS
-rw-r--r--lib/converters.h1
-rw-r--r--lib/events/eventloader.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/converters.h b/lib/converters.h
index c1d1e9f9..688f7bbd 100644
--- a/lib/converters.h
+++ b/lib/converters.h
@@ -74,6 +74,7 @@ struct JsonConverter : JsonObjectUnpacker<T> {
}
}
+ using JsonObjectUnpacker<T>::load;
static T load(const QJsonObject& jo)
{
// 'else' below are required to suppress code generation for unused
diff --git a/lib/events/eventloader.h b/lib/events/eventloader.h
index 7dde9786..15271ab1 100644
--- a/lib/events/eventloader.h
+++ b/lib/events/eventloader.h
@@ -50,9 +50,11 @@ inline StateEventPtr loadStateEvent(const QString& matrixType,
template <typename EventT>
struct JsonConverter<event_ptr_tt<EventT>>
: JsonObjectUnpacker<event_ptr_tt<EventT>> {
+ using JsonObjectUnpacker<event_ptr_tt<EventT>>::load;
static auto load(const QJsonObject& jo)
{
return loadEvent<EventT>(jo);
}
};
+
} // namespace Quotient