Skip to content

Commit

Permalink
sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
beats-dh committed Jul 16, 2023
1 parent 6e6d9e6 commit 2de9daf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/io/iomapserialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void IOMapSerialize::loadHouseItems(Map* map) {
SPDLOG_INFO("Loaded house items in {} seconds", (OTSYS_TIME() - start) / (1000.));
}
bool IOMapSerialize::beatsSaveHouseItems() {
bool success = DBTransaction::executeWithinTransaction([&]() {
bool success = DBTransaction::executeWithinTransaction([]() {
saveHouseItems();
});

Expand Down Expand Up @@ -281,7 +281,7 @@ bool IOMapSerialize::loadHouseInfo() {
}

bool IOMapSerialize::beatsSaveHouseInfo() {
bool success = DBTransaction::executeWithinTransaction([&]() {
bool success = DBTransaction::executeWithinTransaction([]() {
saveHouseInfo();
});

Expand Down

0 comments on commit 2de9daf

Please sign in to comment.