orm removed useless static_cast<>

This commit is contained in:
silverqx
2024-03-23 17:45:12 +01:00
parent 925944bec5
commit fffc7766e5

View File

@@ -118,7 +118,7 @@ namespace Concerns
we will call the callback with the current chunk of these results. */
auto models = builder().forPage(page, count).get();
modelsSize = static_cast<qint64>(models.size());
modelsSize = models.size();
if (modelsSize == 0)
break;
@@ -223,7 +223,7 @@ namespace Concerns
we will call the callback with the current chunk of these results. */
auto models = clone.forPageAfterId(count, lastId, columnName, true).get();
modelsSize = static_cast<qint64>(models.size());
modelsSize = models.size();
if (modelsSize == 0)
break;