mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-24 01:08:21 +00:00
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:
@@ -81,7 +81,7 @@ public:
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto &row = results.begin();
|
auto row = results.begin();
|
||||||
const int64 count = Strings::ToBigInt(row[0]);
|
const int64 count = Strings::ToBigInt(row[0]);
|
||||||
|
|
||||||
if (count > std::numeric_limits<int>::max()) {
|
if (count > std::numeric_limits<int>::max()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user