mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-29 18:34:06 +00:00
Move detail::null to chrono where it is used
This commit is contained in:
parent
c5c968cb22
commit
00149c0b6a
@ -283,6 +283,7 @@ To safe_duration_cast(std::chrono::duration<FromRep, FromPeriod> from,
|
||||
#define FMT_NOMACRO
|
||||
|
||||
namespace detail {
|
||||
template <typename T = void> struct null {};
|
||||
inline null<> localtime_r FMT_NOMACRO(...) { return null<>(); }
|
||||
inline null<> localtime_s(...) { return null<>(); }
|
||||
inline null<> gmtime_r(...) { return null<>(); }
|
||||
|
@ -1135,8 +1135,6 @@ class utf8_to_utf16 {
|
||||
std::wstring str() const { return {&buffer_[0], size()}; }
|
||||
};
|
||||
|
||||
template <typename T = void> struct null {};
|
||||
|
||||
namespace dragonbox {
|
||||
|
||||
// Type-specific information that Dragonbox uses.
|
||||
|
Loading…
Reference in New Issue
Block a user