aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexey Andreyev <aa13q@ya.ru>2019-02-24 12:45:16 +0300
committerAlexey Andreyev <aa13q@ya.ru>2019-02-24 14:19:23 +0300
commit1a9fd422581cf14c384d2467950ab3f2e1039565 (patch)
tree4f7114114a55695ce6a16fe9d8858ae8a89642b0 /lib
parent293b54791f171382f3ce1afb1e035165142ab120 (diff)
downloadlibquotient-1a9fd422581cf14c384d2467950ab3f2e1039565.tar.gz
libquotient-1a9fd422581cf14c384d2467950ab3f2e1039565.zip
Fix Qt<5.7 build for std::hash<StateEventKey>
Diffstat (limited to 'lib')
-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 dc017b11..3f54f7bf 100644
--- a/lib/events/stateevent.h
+++ b/lib/events/stateevent.h
@@ -46,7 +46,7 @@ namespace QMatrixClient {
* of state in Matrix.
* \sa https://matrix.org/docs/spec/client_server/unstable.html#types-of-room-events
*/
- using StateEventKey = std::pair<QString, QString>;
+ using StateEventKey = QPair<QString, QString>;
template <typename ContentT>
struct Prev