From c3d2e17cb5f53079aa0f59af579619387eb32b03 Mon Sep 17 00:00:00 2001 From: Tomasz Swierczek Date: Wed, 18 Jul 2018 12:15:47 +0200 Subject: Adjust build to boost 1.65.0 and up Change-Id: I7e6d7cac40c643d68775f30ccfbfaf465525c48c --- tests/colour_log_formatter.cpp | 16 ++++++++++++++++ tests/colour_log_formatter.h | 11 +++++++++++ 2 files changed, 27 insertions(+) diff --git a/tests/colour_log_formatter.cpp b/tests/colour_log_formatter.cpp index 020ee27..4a9ea4f 100644 --- a/tests/colour_log_formatter.cpp +++ b/tests/colour_log_formatter.cpp @@ -306,6 +306,22 @@ colour_log_formatter::entry_context_finish(std::ostream& os) } //____________________________________________________________________________// +#if BOOST_VERSION >= 106500 +void +colour_log_formatter::log_entry_context(std::ostream& os, log_level l, const_string value) +{ + (void)os; + (void)l; + (void)value; +} +void +colour_log_formatter::entry_context_finish(std::ostream& os, log_level l) +{ + (void)os; + (void)l; +} +#endif + //____________________________________________________________________________// } // namespace CCHECKER diff --git a/tests/colour_log_formatter.h b/tests/colour_log_formatter.h index 0838cce..0717a6c 100644 --- a/tests/colour_log_formatter.h +++ b/tests/colour_log_formatter.h @@ -64,6 +64,17 @@ public: std::ostream& os, boost::unit_test::const_string value); void entry_context_finish(std::ostream& os); +#if BOOST_VERSION >= 106500 + void log_entry_context( + std::ostream& os, + boost::unit_test::log_level l, + boost::unit_test::const_string value); + void entry_context_finish( + std::ostream& os, + boost::unit_test::log_level l); +#endif + + private: bool m_isTestCaseFailed; }; -- cgit v1.2.3