Fix assert & github CI maybe?
This commit is contained in:
parent
835f74065c
commit
da9b2b415b
@ -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>
|
||||||
|
@ -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!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user