aboutsummaryrefslogtreecommitdiff
path: root/lib/events/stateevent.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-07-07 19:32:34 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-09 10:18:37 +0900
commit27ca32a1e5a56e09b9cc1d94224d2831004dcf3d (patch)
treef2e8d19705a13e39bd9484d13098f323c8d30194 /lib/events/stateevent.h
parent7a5b359b8823646ce97cbaf05c251cb04c291466 (diff)
downloadlibquotient-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.h8
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);
}