diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-11-11 15:24:13 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-11-19 08:51:30 +0900 |
commit | a3150b2050f2669b1e263db7213235e0a317ae31 (patch) | |
tree | 76ed5b72a53fd42e783b47dca3d91cde4d3ba7b8 /lib/converters.h | |
parent | bdd0b841c48b42915087fde8d86e86e01631c627 (diff) | |
download | libquotient-a3150b2050f2669b1e263db7213235e0a317ae31.tar.gz libquotient-a3150b2050f2669b1e263db7213235e0a317ae31.zip |
Improvements in comments
- registerEventType(): comment the cryptic _ variable
- Room::postEvent: document the return value
- Room::Private: upgrade comments to doc-comments - even though in Private, they still are helpful to show hints in IDEs.
- General cleanup
Diffstat (limited to 'lib/converters.h')
-rw-r--r-- | lib/converters.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/converters.h b/lib/converters.h index 70938ab9..53855a1f 100644 --- a/lib/converters.h +++ b/lib/converters.h @@ -61,7 +61,7 @@ namespace QMatrixClient inline auto toJson(const QJsonValue& val) { return val; } inline auto toJson(const QJsonObject& o) { return o; } inline auto toJson(const QJsonArray& arr) { return arr; } - // Special-case QStrings and bools to avoid ambiguity between QJsonValue + // Special-case QString to avoid ambiguity between QJsonValue // and QVariant (also, QString.isEmpty() is used in _impl::AddNode<> below) inline auto toJson(const QString& s) { return s; } |