Fix non-const lvalue reference binding in inventory_snapshots_repository.h

Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-03-20 02:35:15 +00:00
parent 70cee8c6ec
commit c652a07c05

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()) {