mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-01-23 03:19:54 -06:00
orm removed useless static_cast<>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user