]> granicus.if.org Git - icinga2/commitdiff
Build fix for Boost 1.56
authorGunnar Beutner <gunnar@beutner.name>
Mon, 25 Aug 2014 13:12:39 +0000 (15:12 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Mon, 25 Aug 2014 13:12:39 +0000 (15:12 +0200)
fixes #7001

lib/base/array.hpp
lib/base/dictionary.hpp
lib/base/qstring.hpp

index a74fbd23846f094f3a573f49a9d6b0c34e8d1178..5e0602106db5517b0366e9d36a8f1ade4c59008c 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "base/i2-base.hpp"
 #include "base/value.hpp"
+#include <boost/range/iterator.hpp>
 #include <vector>
 
 namespace icinga
index e280d452f4e3b773b4396c17558dd97eaa7e12cd..ccce691b6c113dcc4c2051a674483f8ee7152bdd 100644 (file)
@@ -23,6 +23,7 @@
 #include "base/i2-base.hpp"
 #include "base/object.hpp"
 #include "base/value.hpp"
+#include <boost/range/iterator.hpp>
 #include <map>
 
 namespace icinga
index bd02a52c6cfd2a46504a94e751e186045f57d302..72c94f43195e5c28e7846e0e2cb4d8cc8698668f 100644 (file)
@@ -21,6 +21,7 @@
 #define STRING_H
 
 #include "base/i2-base.hpp"
+#include <boost/range/iterator.hpp>
 #include <string.h>
 #include <functional>
 #include <string>
@@ -173,16 +174,12 @@ struct string_iless : std::binary_function<String, String, bool>
 namespace boost
 {
 
-template <typename C> struct range_mutable_iterator;
-
 template<>
 struct range_mutable_iterator<icinga::String>
 {
        typedef icinga::String::Iterator type;
 };
 
-template <typename C> struct range_const_iterator;
-
 template<>
 struct range_const_iterator<icinga::String>
 {