mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-24 21:52:26 +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:
commit
df6a13398b
@ -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()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user