Restore ABI compatibility

This commit is contained in:
Victor Zverovich committed 2025-01-10 17:36:09 -08:00
1 parent 3f864a4505
commit 21aa0956d4
5 files changed
+49 -33

No files matched your search

+1 -3
View File
@@ -2276,9 +2276,7 @@ struct locale_ref {
public:
constexpr locale_ref() : locale_(nullptr) {}
template <typename Locale, FMT_ENABLE_IF(sizeof(Locale::collate) != 0)>
locale_ref(const Locale& loc);
template <typename Locale> locale_ref(const Locale& loc);
inline explicit operator bool() const noexcept { return locale_ != nullptr; }
#endif // FMT_USE_LOCALE