fix: use std::formattable only when fmtlib is not used
This commit is contained in:
1 parent
17de6bd872
commit
72491443fc
1 file changed
+1
-1
@@ -265,7 +265,7 @@ public:
|
||||
// subentity-id ::= 'N' | 'U' | 'D'
|
||||
// format-spec ::= <as specified by the formatter for the argument type>
|
||||
//
|
||||
#if __cpp_lib_format_ranges
|
||||
#if __cpp_lib_format_ranges && !MP_UNITS_USE_FMTLIB
|
||||
template<auto Reference, typename Char, std::formattable<Char> Rep>
|
||||
#else
|
||||
template<auto Reference, typename Rep, typename Char>
|
||||
|
||||
Reference in new issue
Block a user