From b5eade736251e446039f39ce06ad1baa25e0930e Mon Sep 17 00:00:00 2001 From: Tomasz Swierczek Date: Tue, 19 Jun 2018 07:02:21 +0200 Subject: [PATCH] Adjust build to boost 1.65.1 Change-Id: I51af6f76f114b8b997f1e1d1bdc5c452ac236533 --- test/colour_log_formatter.cpp | 15 +++++++++++++++ test/colour_log_formatter.h | 5 +++++ 2 files changed, 20 insertions(+) diff --git a/test/colour_log_formatter.cpp b/test/colour_log_formatter.cpp index eefaa6c..8d142b8 100644 --- a/test/colour_log_formatter.cpp +++ b/test/colour_log_formatter.cpp @@ -321,6 +321,21 @@ colour_log_formatter::entry_context_finish(std::ostream& os) { (void)os; } +#if BOOST_VERSION >= 106501 +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 SecurityManager diff --git a/test/colour_log_formatter.h b/test/colour_log_formatter.h index 5a38e0a..65ab721 100644 --- a/test/colour_log_formatter.h +++ b/test/colour_log_formatter.h @@ -44,6 +44,11 @@ public: void log_entry_context(std::ostream& os, boost::unit_test::const_string value); void entry_context_finish(std::ostream& os); +#if BOOST_VERSION >= 106501 + 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; }; -- 2.7.4