diff options
Diffstat (limited to 'src/sql/kernel/qsqlcachedresult.cpp')
-rw-r--r-- | src/sql/kernel/qsqlcachedresult.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sql/kernel/qsqlcachedresult.cpp b/src/sql/kernel/qsqlcachedresult.cpp index 2e453fe763..3cc0b6419a 100644 --- a/src/sql/kernel/qsqlcachedresult.cpp +++ b/src/sql/kernel/qsqlcachedresult.cpp @@ -3,7 +3,6 @@ #include "private/qsqlcachedresult_p.h" -#include <qdatetime.h> #include <qvariant.h> #include <QtSql/private/qsqldriver_p.h> @@ -21,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() { |