Skip to content

Commit

Permalink
fix: add reserved range
Browse files Browse the repository at this point in the history
  • Loading branch information
dudantas committed Nov 9, 2024
1 parent de2f63f commit 8b03cf5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/creatures/players/components/player_storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ bool PlayerStorage::save() {
};

auto insertModifiedStorageKeys = [playerGUID, playerName, modifiedKeys, storageMap]() mutable {
getReservedRange();

Check failure on line 130 in src/creatures/players/components/player_storage.cpp

View workflow job for this annotation

GitHub Actions / ubuntu-22.04-linux-release

‘this’ was not captured for this lambda function

Check failure on line 130 in src/creatures/players/components/player_storage.cpp

View workflow job for this annotation

GitHub Actions / ubuntu-22.04-linux-release

cannot call member function ‘void PlayerStorage::getReservedRange()’ without object

Check failure on line 130 in src/creatures/players/components/player_storage.cpp

View workflow job for this annotation

GitHub Actions / windows-2022-windows-release

'this' cannot be implicitly captured because no default capture mode has been specified

Check failure on line 130 in src/creatures/players/components/player_storage.cpp

View workflow job for this annotation

GitHub Actions / windows-2022-windows-release

'PlayerStorage::getReservedRange': a call of a non-static member function requires an object

Check failure on line 130 in src/creatures/players/components/player_storage.cpp

View workflow job for this annotation

GitHub Actions / ubuntu-22.04-linux-debug

‘this’ was not captured for this lambda function

Check failure on line 130 in src/creatures/players/components/player_storage.cpp

View workflow job for this annotation

GitHub Actions / ubuntu-22.04-linux-debug

cannot call member function ‘void PlayerStorage::getReservedRange()’ without object

Check failure on line 130 in src/creatures/players/components/player_storage.cpp

View workflow job for this annotation

GitHub Actions / ubuntu-24.04-linux-release

‘this’ was not captured for this lambda function

Check failure on line 130 in src/creatures/players/components/player_storage.cpp

View workflow job for this annotation

GitHub Actions / ubuntu-24.04-linux-release

cannot call member function ‘void PlayerStorage::getReservedRange()’ without object

Check failure on line 130 in src/creatures/players/components/player_storage.cpp

View workflow job for this annotation

GitHub Actions / ubuntu-24.04-linux-debug

‘this’ was not captured for this lambda function

Check failure on line 130 in src/creatures/players/components/player_storage.cpp

View workflow job for this annotation

GitHub Actions / ubuntu-24.04-linux-debug

cannot call member function ‘void PlayerStorage::getReservedRange()’ without object
if (!modifiedKeys.empty()) {
DBInsert storageQuery("INSERT INTO `player_storage` (`player_id`, `key`, `value`) VALUES ");
storageQuery.upsert({ "value" });
Expand Down

0 comments on commit 8b03cf5

Please sign in to comment.