diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2025-04-06 15:56:55 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2025-04-06 15:56:55 -0500 |
commit | 64f721d4e7d45fdf8965f641ef1ebed25cd5acc4 (patch) | |
tree | bfaeada08d9cc7149c29b92655336dea28987683 /source | |
parent | 1f6ec08ea811c71c5b918a4bc197d319cb66abff (diff) |
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 |