diff options
Diffstat (limited to 'src/corelib/serialization/qjsondocument.h')
-rw-r--r-- | src/corelib/serialization/qjsondocument.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/serialization/qjsondocument.h b/src/corelib/serialization/qjsondocument.h index ea190679bd..d262a5e6b6 100644 --- a/src/corelib/serialization/qjsondocument.h +++ b/src/corelib/serialization/qjsondocument.h @@ -135,7 +135,7 @@ public: #endif const QJsonValue operator[](QStringView key) const; const QJsonValue operator[](QLatin1String key) const; - const QJsonValue operator[](int i) const; + const QJsonValue operator[](qsizetype i) const; bool operator==(const QJsonDocument &other) const; bool operator!=(const QJsonDocument &other) const { return !(*this == other); } |