Lines 1-24
Link Here
|
1 |
In file included from src/third_party/yaml-cpp-0.5.3/src/convert.cpp:3: |
|
|
2 |
In file included from src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/convert.h:17: |
3 |
In file included from src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/impl.h:11: |
4 |
In file included from src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/iterator.h:13: |
5 |
src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/iterator.h:48:54: error: no member named 'next' in namespace 'boost' |
6 |
void increment() { this->base_reference() = boost::next(this->base()); } |
7 |
~~~~~~~^ |
8 |
|
9 |
--- src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/iterator.h.orig 2017-09-07 19:28:48 UTC |
10 |
+++ src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/iterator.h |
11 |
@@ -11,7 +11,13 @@ |
12 |
#include "yaml-cpp/node/ptr.h" |
13 |
#include "yaml-cpp/node/detail/node_iterator.h" |
14 |
#include <boost/iterator/iterator_adaptor.hpp> |
15 |
+ |
16 |
+#include <boost/version.hpp> |
17 |
+#if BOOST_VERSION < 106700 |
18 |
#include <boost/utility.hpp> |
19 |
+#else |
20 |
+#include <boost/next_prior.hpp> |
21 |
+#endif |
22 |
|
23 |
namespace YAML { |
24 |
namespace detail { |