diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-02-24 12:23:33 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-24 12:23:33 +0900 |
commit | 293b54791f171382f3ce1afb1e035165142ab120 (patch) | |
tree | 4685e6f11e857fd1cb32c06450e0d3fde61a9dbf /lib/connection.h | |
parent | 02872ea0cf6dccabb55b38a33fc5ad67f183254b (diff) | |
parent | 9931e90193d4a233893540ac5534fa46d7a8d006 (diff) | |
download | libquotient-293b54791f171382f3ce1afb1e035165142ab120.tar.gz libquotient-293b54791f171382f3ce1afb1e035165142ab120.zip |
Merge pull request #285 from Kaffeine/kaffeine/fix_debug_private_api
Refactor Connection::SupportedRoomVersion debug operators
Diffstat (limited to 'lib/connection.h')
-rw-r--r-- | lib/connection.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/connection.h b/lib/connection.h index 1faee255..1a81c29e 100644 --- a/lib/connection.h +++ b/lib/connection.h @@ -266,21 +266,12 @@ namespace QMatrixClient static const QString StableTag; // "stable", as of CS API 0.5 bool isStable() const { return status == StableTag; } - // Pretty-printing - friend QDebug operator<<(QDebug dbg, const SupportedRoomVersion& v) { QDebugStateSaver _(dbg); return dbg.nospace() << v.id << '/' << v.status; } - - friend QDebug operator<<(QDebug dbg, - const QVector<SupportedRoomVersion>& vs) - { - return QtPrivate::printSequentialContainer( - dbg, "", vs); - } }; /// Get the room version recommended by the server |