diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-01-30 15:55:06 +0100 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-05-08 17:43:58 +0200 |
commit | 4b35dfd8af196ff9e8669499ea3ed7e4127f5901 (patch) | |
tree | a3a0b48cd108a2a3295ad00aad9075a6d9a4773a /lib/events | |
parent | f4a20cc3710ee8f4b1788f73d05466aa0e660d61 (diff) | |
download | libquotient-4b35dfd8af196ff9e8669499ea3ed7e4127f5901.tar.gz libquotient-4b35dfd8af196ff9e8669499ea3ed7e4127f5901.zip |
Use std::pair instead of QPair
QPair is giving way to its STL counterpart, becoming its alias in Qt 6.
Diffstat (limited to 'lib/events')
-rw-r--r-- | lib/events/stateevent.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/stateevent.h b/lib/events/stateevent.h index 47bf6e59..343e87a5 100644 --- a/lib/events/stateevent.h +++ b/lib/events/stateevent.h @@ -72,7 +72,7 @@ inline bool is<StateEventBase>(const Event& e) * \sa * https://matrix.org/docs/spec/client_server/unstable.html#types-of-room-events */ -using StateEventKey = QPair<QString, QString>; +using StateEventKey = std::pair<QString, QString>; template <typename ContentT> struct Prev { |