Skip to content

Commit

Permalink
Try returning void to suppress MacOS warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jadebenn committed Jan 23, 2024
1 parent 1d6e51f commit 8489149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dGame/UserManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ void UserManager::RenameCharacter(const SystemAddress& sysAddr, Packet* packet)
"User %i tried to rename a character that it does not own!",
u->GetAccountID());

std::find_if(u->GetCharacters().begin(), u->GetCharacters().end(), [&](Character* c) {
void = std::find_if(u->GetCharacters().begin(), u->GetCharacters().end(), [&](Character* c) {

Check failure on line 454 in dGame/UserManager.cpp

View workflow job for this annotation

GitHub Actions / Build & Test (ubuntu-22.04)

expected unqualified-id before ‘=’ token

Check failure on line 454 in dGame/UserManager.cpp

View workflow job for this annotation

GitHub Actions / Build & Test (macos-13)

expected unqualified-id
if (c->GetID() == charID) {
character = c;
return true;
Expand Down

0 comments on commit 8489149

Please sign in to comment.