diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-08-09 23:02:17 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-08-09 23:02:17 +0900 |
commit | 01570f70926c716441cdb62928231a35af72ebc3 (patch) | |
tree | 832bbdc4c75247fb93ce18e76eed02c6674bf55c /lib/events/stateevent.h | |
parent | b0f259c3aa4ca619a6998184d16f9ab2daf5b5f4 (diff) | |
parent | 38f063e75757e97bfe1fda9655ab460454ba99db (diff) | |
download | libquotient-01570f70926c716441cdb62928231a35af72ebc3.tar.gz libquotient-01570f70926c716441cdb62928231a35af72ebc3.zip |
Merge branch 'renaming'
Diffstat (limited to 'lib/events/stateevent.h')
-rw-r--r-- | lib/events/stateevent.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/events/stateevent.h b/lib/events/stateevent.h index 757c94ee..74e36e74 100644 --- a/lib/events/stateevent.h +++ b/lib/events/stateevent.h @@ -20,7 +20,7 @@ #include "roomevent.h" -namespace QMatrixClient { +namespace Quotient { /// Make a minimal correct Matrix state event JSON template <typename StrT> @@ -128,12 +128,12 @@ private: ContentT _content; std::unique_ptr<Prev<ContentT>> _prev; }; -} // namespace QMatrixClient +} // namespace Quotient namespace std { template <> -struct hash<QMatrixClient::StateEventKey> { - size_t operator()(const QMatrixClient::StateEventKey& k) const Q_DECL_NOEXCEPT +struct hash<Quotient::StateEventKey> { + size_t operator()(const Quotient::StateEventKey& k) const Q_DECL_NOEXCEPT { return qHash(k); } |