Common: Don't forceinline vararg functions

No compiler actually inlines them, and GCC issues an error saying that it can't force inline vararg functions
This commit is contained in:
TellowKrinkle 2024-03-17 19:02:46 -05:00 committed by lightningterror
parent 52ddb0efd9
commit 5271e83824
1 changed files with 4 additions and 4 deletions

View File

@ -132,10 +132,10 @@ struct ConsoleLogWriter
} while (0) } while (0)
// clang-format off // clang-format off
__fi static void Error(const char* format, ...) { MAKE_PRINTF_CONSOLE_WRITER(Color_StrongRed); } static void Error(const char* format, ...) { MAKE_PRINTF_CONSOLE_WRITER(Color_StrongRed); }
__fi static void Warning(const char* format, ...) { MAKE_PRINTF_CONSOLE_WRITER(Color_StrongOrange); } static void Warning(const char* format, ...) { MAKE_PRINTF_CONSOLE_WRITER(Color_StrongOrange); }
__fi static void WriteLn(const char* format, ...) { MAKE_PRINTF_CONSOLE_WRITER(Color_Default); } static void WriteLn(const char* format, ...) { MAKE_PRINTF_CONSOLE_WRITER(Color_Default); }
__fi static void WriteLn(ConsoleColors color, const char* format, ...) { MAKE_PRINTF_CONSOLE_WRITER(color); } static void WriteLn(ConsoleColors color, const char* format, ...) { MAKE_PRINTF_CONSOLE_WRITER(color); }
// clang-format on // clang-format on
#undef MAKE_PRINTF_CONSOLE_WRITER #undef MAKE_PRINTF_CONSOLE_WRITER