diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/fud_assert.cpp | 1 | ||||
-rw-r--r-- | source/fud_print.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source/fud_assert.cpp b/source/fud_assert.cpp index 64b3275..82230b9 100644 --- a/source/fud_assert.cpp +++ b/source/fud_assert.cpp @@ -63,7 +63,6 @@ void assertFailMessage(const char* assertion, const std::source_location sourceL } static_cast<void>(format( sink, - FormatCharMode::Unchecked, u8"{}:{}:{}: {}\n", fileName, functionName, diff --git a/source/fud_print.cpp b/source/fud_print.cpp index 6b7bac1..65041e9 100644 --- a/source/fud_print.cpp +++ b/source/fud_print.cpp @@ -45,7 +45,7 @@ DrainResult StdOutSink::drain(StringView source) FormatResult print(FormatString fmt) { StdOutSink outSink{}; - return format(outSink, FormatCharMode::Unchecked, fmt); + return outSink.drain(fmt.view()); } } // namespace fud |