Restore ABI compatibility
This commit is contained in:
1 parent
3f864a4505
commit
21aa0956d4
5 files changed
+49
-33
No files matched your search
+1
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user