File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 3636#include " adaptor/cpp11/array.hpp"
3737#include " adaptor/cpp11/array_char.hpp"
3838#include " adaptor/cpp11/array_unsigned_char.hpp"
39+
40+ #if !defined(MSGPACK_NO_BOOST)
3941#include " adaptor/cpp11/chrono.hpp"
42+ #endif // !defined(MSGPACK_NO_BOOST)
43+
4044#include " adaptor/cpp11/forward_list.hpp"
4145#include " adaptor/cpp11/reference_wrapper.hpp"
4246#include " adaptor/cpp11/shared_ptr.hpp"
Original file line number Diff line number Diff line change @@ -861,6 +861,8 @@ BOOST_AUTO_TEST_CASE(no_def_con_array_simple_buffer)
861861 BOOST_CHECK (val1 == val2);
862862}
863863
864+ #if !defined(MSGPACK_NO_BOOST)
865+
864866BOOST_AUTO_TEST_CASE (system_clock)
865867{
866868 std::chrono::system_clock::time_point val1;
@@ -1426,6 +1428,8 @@ BOOST_AUTO_TEST_CASE(high_resolution_clock_impl_now)
14261428 BOOST_CHECK (val1 == val3);
14271429}
14281430
1431+ #endif // !defined(MSGPACK_NO_BOOST)
1432+
14291433
14301434BOOST_AUTO_TEST_CASE (timespec_pack_convert_zero)
14311435{
Original file line number Diff line number Diff line change @@ -917,6 +917,8 @@ BOOST_AUTO_TEST_CASE(tuple_empty)
917917 BOOST_CHECK (obj.as <test_t >() == v);
918918}
919919
920+ #if !defined(MSGPACK_NO_BOOST)
921+
920922BOOST_AUTO_TEST_CASE (system_clock)
921923{
922924 std::chrono::system_clock::time_point v;
@@ -981,6 +983,8 @@ BOOST_AUTO_TEST_CASE(system_clock_impl_max)
981983 BOOST_CHECK (obj.as <std::chrono::system_clock::time_point>() == v);
982984}
983985
986+ #endif // !defined(MSGPACK_NO_BOOST)
987+
984988#endif // !defined(MSGPACK_USE_CPP03)
985989
986990BOOST_AUTO_TEST_CASE (ext_empty)
You can’t perform that action at this time.
0 commit comments