From 7b3c9bea5836e9c880c561b893bc5c67c3ec2763 Mon Sep 17 00:00:00 2001 From: Elad Ashkenazi <18193363+elad335@users.noreply.github.com> Date: Mon, 20 May 2024 21:40:38 +0300 Subject: [PATCH] StrFmt.h: Fix throw_exception log message --- Utilities/StrFmt.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Utilities/StrFmt.h b/Utilities/StrFmt.h index 10671344e2..590df9f767 100644 --- a/Utilities/StrFmt.h +++ b/Utilities/StrFmt.h @@ -363,7 +363,10 @@ namespace fmt template struct throw_exception { + struct args_break_t {}; + [[noreturn]] FORCE_INLINE SAFE_BUFFERS() throw_exception(const CharT(&fmt)[N], const Args&... args, + args_break_t = args_break_t{}, u32 line = __builtin_LINE(), u32 col = __builtin_COLUMN(), const char* file = __builtin_FILE(),