Restore ABI compatibility

This commit is contained in:
Victor Zverovich
2025-01-10 17:36:09 -08:00
parent 3f864a4505
commit 21aa0956d4
5 changed files with 49 additions and 33 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ using std::locale;
using std::numpunct;
using std::use_facet;
template <typename Locale, enable_if_t<(sizeof(Locale::collate) != 0), int>>
template <typename Locale>
locale_ref::locale_ref(const Locale& loc) : locale_(&loc) {
static_assert(std::is_same<Locale, locale>::value, "");
}