aboutsummaryrefslogtreecommitdiff
path: root/lib/converters.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-11-11 15:24:13 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-11-14 21:55:49 +0900
commit6ca6dde46b9c72fc8833bc6fb81614fb705424f2 (patch)
treed504ccbea673e7b47c0a406e04a180912f60cca6 /lib/converters.h
parente85137fca110de758f59cde2f6c6368090cf65c5 (diff)
downloadlibquotient-6ca6dde46b9c72fc8833bc6fb81614fb705424f2.tar.gz
libquotient-6ca6dde46b9c72fc8833bc6fb81614fb705424f2.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.h2
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; }