mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-25 11:49:52 +01:00
Fix the build
This commit is contained in:
@@ -47,11 +47,6 @@ using std::locale;
|
|||||||
using std::numpunct;
|
using std::numpunct;
|
||||||
using std::use_facet;
|
using std::use_facet;
|
||||||
} // namespace detail
|
} // 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
|
#else
|
||||||
namespace detail {
|
namespace detail {
|
||||||
struct locale {};
|
struct locale {};
|
||||||
|
|||||||
Reference in New Issue
Block a user