Skip to content

Commit 939ca92

Browse files
StephanTLavavejShauren
authored andcommitted
Core/Misc: Remove non-portable hack of including <__msvc_chrono.hpp> - will break in future MSVC release (#30460)
(cherry picked from commit 96956b0e5b74884ff8f7bede5c8c11adbb5ee873)
1 parent d2c1841 commit 939ca92

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/common/Utilities/Duration.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,7 @@
1818
#ifndef _DURATION_H_
1919
#define _DURATION_H_
2020

21-
// HACKS TERRITORY
22-
#if __has_include(<__msvc_chrono.hpp>)
23-
#include <__msvc_chrono.hpp> // skip all the formatting/istream/locale/mutex bloat
24-
#else
2521
#include <chrono>
26-
#endif
2722

2823
/// Milliseconds shorthand typedef.
2924
typedef std::chrono::milliseconds Milliseconds;

0 commit comments

Comments
 (0)