chore: remove _s functions

This commit is contained in:
2025-02-06 11:48:54 +01:00
parent 32a000195f
commit da27f374ef
5 changed files with 3 additions and 11 deletions

View File

@@ -65,11 +65,7 @@ namespace console
{
static thread_local char buffer[0x1000];
#ifdef _WIN32
const int count = vsnprintf_s(buffer, _TRUNCATE, message, *ap);
#else
const int count = vsnprintf(buffer, sizeof(buffer), message, *ap);
#endif
if (count < 0) return {};
return {buffer, static_cast<size_t>(count)};