aboutsummaryrefslogtreecommitdiff
path: root/lib/events/stateevent.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-07-06 21:01:23 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-07-06 21:01:23 +0900
commitf58819e4e930ee66e790eccaedf551f807956d72 (patch)
tree079878024e1420bce4113768f6fd0ab348ceb2f6 /lib/events/stateevent.h
parent025e5ab7d90ce8cf474567457301de32d5a3e34a (diff)
downloadlibquotient-f58819e4e930ee66e790eccaedf551f807956d72.tar.gz
libquotient-f58819e4e930ee66e790eccaedf551f807956d72.zip
Fix building with Clang
Diffstat (limited to 'lib/events/stateevent.h')
-rw-r--r--lib/events/stateevent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/stateevent.h b/lib/events/stateevent.h
index 692f2685..3b56a265 100644
--- a/lib/events/stateevent.h
+++ b/lib/events/stateevent.h
@@ -99,7 +99,7 @@ namespace QMatrixClient {
}
template <typename... ContentParamTs>
explicit StateEvent(Type type, event_mtype_t matrixType,
- const QString& stateKey = {},
+ const QString& stateKey,
ContentParamTs&&... contentParams)
: StateEventBase(type, matrixType, stateKey)
, _content(std::forward<ContentParamTs>(contentParams)...)