aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@nuwen.net>2024-11-22 16:56:07 -0800
committerGitHub <noreply@github.com>2024-11-23 01:56:07 +0100
commit96956b0e5b74884ff8f7bede5c8c11adbb5ee873 (patch)
tree104e2a947c9fb6757fe7b2d0ea664f2151b5a5c8
parent848fa5bbaa35c187f125a0656aef6f44f0c56061 (diff)
Core/Misc: Remove non-portable hack of including `<__msvc_chrono.hpp>` - will break in future MSVC release (#30460)
-rw-r--r--src/common/Utilities/Duration.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/common/Utilities/Duration.h b/src/common/Utilities/Duration.h
index b4c3f17cb3e..f506467abda 100644
--- a/src/common/Utilities/Duration.h
+++ b/src/common/Utilities/Duration.h
@@ -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;