aboutsummaryrefslogtreecommitdiff
path: root/lib/converters.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/converters.h')
-rw-r--r--lib/converters.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/converters.h b/lib/converters.h
index 1d1686cd..fb1da6d7 100644
--- a/lib/converters.h
+++ b/lib/converters.h
@@ -278,7 +278,7 @@ namespace QMatrixClient
static constexpr bool IfNotEmpty = false;
- template <bool Force = true, typename ValT = void>
+ template <bool Force = true, typename ValT>
inline void addToJson(QJsonObject& o, QString key, ValT&& value)
{
auto&& json = toJson(std::forward<ValT>(value));