From 8d3127935d6ac157e6f597699d6e152526323c66 Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Sat, 25 Apr 2015 12:44:27 +0300 Subject: [PATCH] Drop dependency to Boost.Functional --- include/boost/type_index/stl_type_index.hpp | 1 - include/boost/type_index/type_index_facade.hpp | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/boost/type_index/stl_type_index.hpp b/include/boost/type_index/stl_type_index.hpp index 1b3b0c4..c801e70 100644 --- a/include/boost/type_index/stl_type_index.hpp +++ b/include/boost/type_index/stl_type_index.hpp @@ -39,7 +39,6 @@ #include #include #include -#include #if (defined(__EDG_VERSION__) && __EDG_VERSION__ < 245) \ || (defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 744) diff --git a/include/boost/type_index/type_index_facade.hpp b/include/boost/type_index/type_index_facade.hpp index c18ea4b..e0e0a4a 100644 --- a/include/boost/type_index/type_index_facade.hpp +++ b/include/boost/type_index/type_index_facade.hpp @@ -10,7 +10,6 @@ #define BOOST_TYPE_INDEX_TYPE_INDEX_FACADE_HPP #include -#include #include #include @@ -26,6 +25,11 @@ # pragma once #endif +// Forward declaration from #include +namespace boost { + template std::size_t hash_range(It, It); +} + namespace boost { namespace typeindex { /// \class type_index_facade