mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 11:43:29 +01:00
Fix MSVC compilation when stringifying std::chrono::time_point
This commit is contained in:
parent
760a25e813
commit
4899d891d3
@ -347,9 +347,9 @@ namespace Catch {
|
|||||||
|
|
||||||
// Separate std::chrono::duration specialization
|
// Separate std::chrono::duration specialization
|
||||||
#if defined(CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER)
|
#if defined(CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER)
|
||||||
#include <chrono>
|
#include <ctime>
|
||||||
|
|
||||||
#include <ratio>
|
#include <ratio>
|
||||||
|
#include <chrono>
|
||||||
|
|
||||||
template <class Ratio>
|
template <class Ratio>
|
||||||
struct ratio_string {
|
struct ratio_string {
|
||||||
|
Loading…
Reference in New Issue
Block a user