Fix build failure in case of boost upgrade(1.66.0->1.71.0) 89/219689/2 accepted/tizen/unified/20191212.123709 submit/tizen/20191211.031516
authorDongsun Lee <ds73.lee@samsung.com>
Mon, 9 Dec 2019 07:19:39 +0000 (16:19 +0900)
committerDongsun Lee <ds73.lee@samsung.com>
Wed, 11 Dec 2019 02:51:32 +0000 (11:51 +0900)
Change-Id: I29c506c1d35aaf5728abb42d8771c0623faa25c9
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
test/colour_log_formatter.cc
test/colour_log_formatter.h

index d026a82..9cc2c39 100644 (file)
@@ -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'
index fca2037..1dee5e5 100644 (file)
@@ -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 &,