aboutsummaryrefslogtreecommitdiff
path: root/lib/events/event.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-07-06 19:53:23 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-07-06 19:53:23 +0900
commit5b8079ca3d35360b7d98814654f37885f21bcb7e (patch)
tree3fee5a090bb911c5c1ed402153bd1943a1a28107 /lib/events/event.h
parent9ad25f204fa6caadf93203c42f3ea7de17dceab0 (diff)
downloadlibquotient-5b8079ca3d35360b7d98814654f37885f21bcb7e.tar.gz
libquotient-5b8079ca3d35360b7d98814654f37885f21bcb7e.zip
Fix clazy warnings
Diffstat (limited to 'lib/events/event.h')
-rw-r--r--lib/events/event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/event.h b/lib/events/event.h
index b7bbd83e..5248472c 100644
--- a/lib/events/event.h
+++ b/lib/events/event.h
@@ -259,7 +259,7 @@ namespace QMatrixClient
}
template <typename T>
- T content(const QLatin1String& key) const
+ T content(QLatin1String key) const
{
return fromJson<T>(contentJson()[key]);
}