Move detail::null to chrono where it is used

This commit is contained in:
Victor Zverovich
2021-05-21 09:16:45 -07:00
parent c5c968cb22
commit 00149c0b6a
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -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<>(); }