aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-06-02 13:30:08 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-06-02 13:30:08 +0900
commite7ac6f3480358fd989c8a3090590d665d18e1cec (patch)
treec7c772308f2fdbb6279aba5c3ad73e2852b6f38e /lib
parent7e15f82aebf79ad95794c4a5dc7d2929e48df4ff (diff)
downloadlibquotient-e7ac6f3480358fd989c8a3090590d665d18e1cec.tar.gz
libquotient-e7ac6f3480358fd989c8a3090590d665d18e1cec.zip
addToJson(): Omit unneeded defaulting of ValT to void
Diffstat (limited to 'lib')
-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));