Fix MSVC compilation when stringifying std::chrono::time_point

This commit is contained in:
Martin Hořeňovský 2017-10-09 13:13:30 +02:00
parent 760a25e813
commit 4899d891d3

View File

@ -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 {