mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-11 22:20:02 +08:00
Fix the build
This commit is contained in:
parent
e8da5ba275
commit
a2289b8593
@ -47,11 +47,6 @@ using std::locale;
|
||||
using std::numpunct;
|
||||
using std::use_facet;
|
||||
} // namespace detail
|
||||
|
||||
template <typename Locale, enable_if_t<(sizeof(Locale::collate) != 0), int>>
|
||||
locale_ref::locale_ref(const Locale& loc) : locale_(&loc) {
|
||||
static_assert(std::is_same<Locale, std::locale>::value, "");
|
||||
}
|
||||
#else
|
||||
namespace detail {
|
||||
struct locale {};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user