From 88dcdd3ef0af4030a963b08bf8c5bff0784c320d Mon Sep 17 00:00:00 2001 From: Alexey Rusakov Date: Mon, 1 Aug 2022 13:51:58 +0200 Subject: Fix FTBFS --- lib/converters.h | 1 + lib/events/eventloader.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'lib') 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 { } } + using JsonObjectUnpacker::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 struct JsonConverter> : JsonObjectUnpacker> { + using JsonObjectUnpacker>::load; static auto load(const QJsonObject& jo) { return loadEvent(jo); } }; + } // namespace Quotient -- cgit v1.2.3