mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Misc: Remove non-portable hack of including <__msvc_chrono.hpp> - will break in future MSVC release (#30460)
This commit is contained in:
committed by
GitHub
parent
848fa5bbaa
commit
96956b0e5b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user