aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/fmt/src/format.cc
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-12 15:02:32 +0100
committerGitHub Enterprise <[email protected]>2026-03-12 15:02:32 +0100
commitfaaa8993405b85015fff202746c39ae0374505d8 (patch)
tree4bff0ee5ee65c7fe7462b153563d170df1de6e83 /thirdparty/fmt/src/format.cc
parent5.7.22 (diff)
downloadzen-faaa8993405b85015fff202746c39ae0374505d8.tar.xz
zen-faaa8993405b85015fff202746c39ae0374505d8.zip
update fmt 12.0.0 -> 12.1.0 (#828)
- Update vendored fmt library from 12.0.0 to 12.1.0 - Disable warnings-as-errors for the fmt build target (third-party code) ## Notable changes in fmt 12.1.0 - **Performance**: Optimized `buffer::append`, resulting in up to ~16% improvement on spdlog benchmarks - **Bug fixes**: - Worked around ABI incompatibility in `std::locale_ref` between clang and gcc - Fixed compilation with clang 21 and `-std=c++20` - Fixed compilation with locales disabled in header-only mode - Fixed dynamic linking issue with clang-cl - Fixed compatibility with clang as host compiler for NVCC - **Formatter improvements**: - `std::variant` and `std::expected` formatters now work with `format_as` - Added cv-qualified type support to `std::optional` formatter - Added demangling support for libc++ and clang-cl - **C++ modules**: Fixed several compatibility issues, exported `is_compiled_string` and `operator""_cf` - **Other**: Switched to global `malloc`/`free` to enable allocator customization, made `FMT_USE_CONSTEVAL` user-configurable
Diffstat (limited to 'thirdparty/fmt/src/format.cc')
-rw-r--r--thirdparty/fmt/src/format.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/fmt/src/format.cc b/thirdparty/fmt/src/format.cc
index 05d0105bc..526082e34 100644
--- a/thirdparty/fmt/src/format.cc
+++ b/thirdparty/fmt/src/format.cc
@@ -10,7 +10,7 @@
FMT_BEGIN_NAMESPACE
#if FMT_USE_LOCALE
-template FMT_API locale_ref::locale_ref(const std::locale& loc);
+template FMT_API locale_ref::locale_ref(const std::locale& loc); // DEPRECATED!
template FMT_API auto locale_ref::get<std::locale>() const -> std::locale;
#endif