Fix patch for Boost.Log
This commit is contained in:
parent
b657a8366b
commit
5cba23da18
|
@ -1,4 +1,4 @@
|
|||
From b1c46d45d7589f05dcfbf02f3e402e318a559495 Mon Sep 17 00:00:00 2001
|
||||
From 0462594a6b3c23b96ec3a90d58f7c9db3f721162 Mon Sep 17 00:00:00 2001
|
||||
From: Jonathan Wakely <github@kayari.org>
|
||||
Date: Sat, 29 Aug 2015 13:38:07 +0100
|
||||
Subject: [PATCH] Fix for Boost 1.59.0 compatibility.
|
||||
|
@ -9,14 +9,14 @@ Boost.Test has major changes in 1.59.0 including renaming the XML enumerator to
|
|||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/test/stdair/StandardAirlineITTestSuite.cpp b/test/stdair/StandardAirlineITTestSuite.cpp
|
||||
index ce04aa5..309e9c1 100644
|
||||
index ce04aa5..892d922 100644
|
||||
--- a/test/stdair/StandardAirlineITTestSuite.cpp
|
||||
+++ b/test/stdair/StandardAirlineITTestSuite.cpp
|
||||
@@ -61,7 +61,11 @@ struct UnitTestConfig {
|
||||
/** Constructor. */
|
||||
UnitTestConfig() {
|
||||
boost_utf::unit_test_log.set_stream (utfReportStream);
|
||||
+#if BOOST_VERSION >= 103900
|
||||
+#if BOOST_VERSION >= 105900
|
||||
+ boost_utf::unit_test_log.set_format (boost_utf::OF_XML);
|
||||
+#else
|
||||
boost_utf::unit_test_log.set_format (boost_utf::XML);
|
||||
|
|
Loading…
Reference in New Issue