Skip to content

Commit d9b2207

Browse files
committed
Fix issue #174 - building with boost 1.65+
1 parent fa7fc1f commit d9b2207

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/drivers/BoostDriver.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,13 @@ class CukeBoostLogInterceptor : public ::boost::unit_test::unit_test_log_formatt
6565
void log_entry_finish( std::ostream&) {};
6666

6767
void entry_context_start( std::ostream&, log_level /*l*/) {}
68+
#if BOOST_VERSION >= 106500
69+
void log_entry_context( std::ostream&, log_level /*l*/, const_string /*value*/) {}
70+
void entry_context_finish( std::ostream&, log_level /*l*/ ) {}
71+
#else
6872
void log_entry_context( std::ostream&, const_string /*value*/) {}
6973
void entry_context_finish( std::ostream& ) {}
74+
#endif
7075

7176
private:
7277
std::stringstream description;

0 commit comments

Comments
 (0)