Core/Misc: Remove non-portable hack of including <__msvc_chrono.hpp> - will break in future MSVC release (#30460)

(cherry picked from commit 96956b0e5b)
This commit is contained in:
Stephan T. Lavavej
2024-11-22 16:56:07 -08:00
committed by Ovahlord
parent b91c6597b9
commit df12a8959c

View File

@@ -18,12 +18,7 @@
#ifndef _DURATION_H_
#define _DURATION_H_
// HACKS TERRITORY
#if __has_include(<__msvc_chrono.hpp>)
#include <__msvc_chrono.hpp> // skip all the formatting/istream/locale/mutex bloat
#else
#include <chrono>
#endif
/// Milliseconds shorthand typedef.
typedef std::chrono::milliseconds Milliseconds;