Skip to content

Commit 1b21872

Browse files
committed
Merge cucumber#175 'Fix building with Boost 1.65+'
2 parents 38a4b34 + d9b2207 commit 1b21872

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/drivers/BoostDriver.cpp

+5
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)