Fix assert & github CI maybe?

This commit is contained in:
Louvenarde 2024-06-16 01:06:11 +02:00
parent 835f74065c
commit da9b2b415b
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ namespace Components
static void PrintFail2Ban(const std::string_view& fmt) static void PrintFail2Ban(const std::string_view& fmt)
{ {
PrintFail2BanInternal(fmt, std::make_format_args(0)); PrintFail2BanInternal(fmt, std::make_format_args());
} }
template <typename... Args> template <typename... Args>

View File

@ -329,7 +329,7 @@ namespace Components
else else
{ {
// Dangerous!! // 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!"); 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!");
} }
} }