diff options
author | Dongsun Lee <ds73.lee@samsung.com> | 2019-12-09 16:19:39 +0900 |
---|---|---|
committer | Dongsun Lee <ds73.lee@samsung.com> | 2019-12-11 11:51:32 +0900 |
commit | 8a7dcc7768954564993e6828e305603e1ce2943f (patch) | |
tree | 7a078734775c5f410f1ca57c7b47e31765178a8c | |
parent | 43900118fbb3434c2548674096efb3e98f9390c3 (diff) | |
download | libcryptsvc-8a7dcc7768954564993e6828e305603e1ce2943f.tar.gz libcryptsvc-8a7dcc7768954564993e6828e305603e1ce2943f.tar.bz2 libcryptsvc-8a7dcc7768954564993e6828e305603e1ce2943f.zip |
Fix build failure in case of boost upgrade(1.66.0->1.71.0)submit/tizen/20191211.031516accepted/tizen/unified/20191212.123709
Change-Id: I29c506c1d35aaf5728abb42d8771c0623faa25c9
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
-rw-r--r-- | test/colour_log_formatter.cc | 4 | ||||
-rw-r--r-- | test/colour_log_formatter.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/colour_log_formatter.cc b/test/colour_log_formatter.cc index d026a82..9cc2c39 100644 --- a/test/colour_log_formatter.cc +++ b/test/colour_log_formatter.cc @@ -102,7 +102,11 @@ colour_log_formatter::log_finish( std::ostream& ostr ) //____________________________________________________________________________// void +#if BOOST_VERSION >= 107000 +colour_log_formatter::log_build_info( std::ostream& output, bool ) +#else colour_log_formatter::log_build_info( std::ostream& output ) +#endif { output << "Platform: " << BOOST_PLATFORM << '\n' << "Compiler: " << BOOST_COMPILER << '\n' diff --git a/test/colour_log_formatter.h b/test/colour_log_formatter.h index fca2037..1dee5e5 100644 --- a/test/colour_log_formatter.h +++ b/test/colour_log_formatter.h @@ -24,7 +24,11 @@ public: std::ostream &, boost::unit_test::counter_t test_cases_amount); void log_finish(std::ostream &); +#if BOOST_VERSION >= 107000 + void log_build_info(std::ostream & out, bool ); +#else void log_build_info(std::ostream &); +#endif void test_unit_start( std::ostream &, |