From e7ac6f3480358fd989c8a3090590d665d18e1cec Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sat, 2 Jun 2018 13:30:08 +0900 Subject: addToJson(): Omit unneeded defaulting of ValT to void --- lib/converters.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/converters.h') 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 + template inline void addToJson(QJsonObject& o, QString key, ValT&& value) { auto&& json = toJson(std::forward(value)); -- cgit v1.2.3