diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2023-01-07 14:11:51 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-01-20 13:16:35 +0000 |
commit | e04af5b9ea60f17787e4cf81cfe1b79a69be3406 (patch) | |
tree | ba59adba322f13af3e6247a2dc5a7ea2543d71c8 /src/sql/kernel/qsqlcachedresult.cpp | |
parent | 8d5ff757744c35e9c96d379ef5600cfbfaab609a (diff) |
SQL: use qsizetype and range-based for loops where possible
Some public functions are still using int instead qsizetype which
can't be changed until Qt7.
Change-Id: Ib6f210c344acce9f3836e8a5493a741eb8b2b385
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/sql/kernel/qsqlcachedresult.cpp')
-rw-r--r-- | src/sql/kernel/qsqlcachedresult.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sql/kernel/qsqlcachedresult.cpp b/src/sql/kernel/qsqlcachedresult.cpp index 477cf6da11..3cc0b6419a 100644 --- a/src/sql/kernel/qsqlcachedresult.cpp +++ b/src/sql/kernel/qsqlcachedresult.cpp @@ -20,7 +20,7 @@ QT_BEGIN_NAMESPACE to indicate that we are not interested in the actual values. */ -static const uint initial_cache_size = 128; +static constexpr qsizetype initial_cache_size = 128; void QSqlCachedResultPrivate::cleanup() { |