Merge pull request #85 from Valorith/copilot/sub-pr-80-one-more-time

Fix non-const lvalue reference binding to temporary iterator in inventory_snapshots_repository
This commit is contained in:
Vayle 2026-03-19 22:40:28 -04:00 committed by GitHub
commit df6a13398b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,7 +81,7 @@ public:
return -1;
}
auto &row = results.begin();
auto row = results.begin();
const int64 count = Strings::ToBigInt(row[0]);
if (count > std::numeric_limits<int>::max()) {