Silence warning

This commit is contained in:
Howard Hinnant 2015-12-05 19:13:18 -05:00
parent bc795cb86c
commit 47cf8a7d42

View File

@ -90,7 +90,6 @@ main()
{
using namespace date;
using namespace std::chrono;
using int64_t = std::int64_t;
static_assert(year{2015} == 2015_y, "");
static_assert(year{2015} != 2016_y, "");
@ -108,6 +107,7 @@ main()
static_assert(year::max().ok(), "");
#if __cplusplus >= 201402
using int64_t = std::int64_t;
static_assert(day_point(year::min()/jan/1) - day_point(1970_y/jan/1)
>= as<int64_t>(days::min()), "");
static_assert(day_point(year::min()/jan/1) - day_point(1970_y/jan/1)