Skip to content

Commit

Permalink
Try 2 at void return
Browse files Browse the repository at this point in the history
  • Loading branch information
jadebenn authored Jan 23, 2024
1 parent 0a2fb6b commit b4cfbe4
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());

void = std::find_if(u->GetCharacters().begin(), u->GetCharacters().end(), [&](Character* c) {
void jtr = 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)

variable or field ‘jtr’ declared void
if (c->GetID() == charID) {
character = c;
return true;
Expand Down

0 comments on commit b4cfbe4

Please sign in to comment.