Remove chrono support on MSGPACK_NO_BOOST.

This commit is contained in:
Takatoshi Kondo
2022-03-09 12:37:57 +09:00
parent 34e411436b
commit e596b6fe35
3 changed files with 12 additions and 0 deletions

View File

@@ -917,6 +917,8 @@ BOOST_AUTO_TEST_CASE(tuple_empty)
BOOST_CHECK(obj.as<test_t>() == v);
}
#if !defined(MSGPACK_NO_BOOST)
BOOST_AUTO_TEST_CASE(system_clock)
{
std::chrono::system_clock::time_point v;
@@ -981,6 +983,8 @@ BOOST_AUTO_TEST_CASE(system_clock_impl_max)
BOOST_CHECK(obj.as<std::chrono::system_clock::time_point>() == v);
}
#endif // !defined(MSGPACK_NO_BOOST)
#endif // !defined(MSGPACK_USE_CPP03)
BOOST_AUTO_TEST_CASE(ext_empty)