diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-07-07 19:32:34 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-08-09 10:18:37 +0900 |
commit | 27ca32a1e5a56e09b9cc1d94224d2831004dcf3d (patch) | |
tree | f2e8d19705a13e39bd9484d13098f323c8d30194 /lib/events/stateevent.h | |
parent | 7a5b359b8823646ce97cbaf05c251cb04c291466 (diff) | |
download | libquotient-27ca32a1e5a56e09b9cc1d94224d2831004dcf3d.tar.gz libquotient-27ca32a1e5a56e09b9cc1d94224d2831004dcf3d.zip |
Namespace: QMatrixClient -> Quotient (with back comp alias)
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); } |