mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-03 20:54:46 +02:00
Fix MSVC compilation when stringifying std::chrono::time_point
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user