Skip to content

Commit

Permalink
Fix assert & github CI maybe?
Browse files Browse the repository at this point in the history
  • Loading branch information
Louvenarde committed Jun 15, 2024
1 parent 835f740 commit da9b2b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Components/Modules/Logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ namespace Components

static void PrintFail2Ban(const std::string_view& fmt)
{
PrintFail2BanInternal(fmt, std::make_format_args(0));
PrintFail2BanInternal(fmt, std::make_format_args());
}

template <typename... Args>
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Modules/Maps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ namespace Components
else
{
// Dangerous!!
assert(false, "Arenas refreshed from wrong thread??");
assert(false && "Arenas refreshed from wrong thread??");
Logger::Print("Tried to refresh arenas from a thread that is NOT the main thread!! This could have lead to a crash. Please report this bug and how you got it!");
}
}
Expand Down

0 comments on commit da9b2b4

Please sign in to comment.