mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-21 18:58:21 +00:00
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:
@@ -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