Fix build break 20/228020/2
authorTomasz Swierczek <t.swierczek@samsung.com>
Wed, 18 Mar 2020 06:52:14 +0000 (07:52 +0100)
committerTomasz Swierczek <t.swierczek@samsung.com>
Wed, 18 Mar 2020 07:51:46 +0000 (07:51 +0000)
Previously, log_build_info was not having additional bool parameter.

When new parameter was added, new function was added that overridden
previous one but had no chance of being properly used (ambiguity
introduced). This failed at compile time in some envs, depending on
options used.

Change-Id: Icb8ffeae5c0c51bca2e9a6f2a0956fc6fe1590ec

tests/colour_log_formatter.cpp
tests/colour_log_formatter.h

index fb51aaa0fbae711edd9f297e09babd5794c27742..38d7e7c7dba499a2d200d457b7ca365f70cf77e0 100644 (file)
@@ -110,19 +110,6 @@ colour_log_formatter::log_finish(std::ostream &ostr)
 
 //____________________________________________________________________________//
 
-void
-colour_log_formatter::log_build_info(std::ostream &output)
-{
-       output  << "Platform: " << BOOST_PLATFORM            << '\n'
-                       << "Compiler: " << BOOST_COMPILER            << '\n'
-                       << "STL     : " << BOOST_STDLIB              << '\n'
-                       << "Boost   : " << BOOST_VERSION / 100000      << "."
-                       << BOOST_VERSION / 100 % 1000  << "."
-                       << BOOST_VERSION % 100       << std::endl;
-}
-
-//____________________________________________________________________________//
-
 void
 colour_log_formatter::log_build_info(std::ostream &output, bool log_build_info)
 {
index 937ef9b816392a5b8c0ccdd0b745116a628580d2..7fbc934e788cd7edfd3e0ebebffd46075ddd1cfa 100644 (file)
@@ -24,7 +24,6 @@ public:
                std::ostream &,
                boost::unit_test::counter_t test_cases_amount);
        void    log_finish(std::ostream &);
-       void    log_build_info(std::ostream &);
        void    log_build_info(std::ostream &output, bool log_build_info = true);
 
        void    test_unit_start(