From d61685461c71a35a9aba59737b30b301655959d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Mon, 2 Feb 2015 15:58:29 +0100 Subject: [PATCH] Include boost/config.hpp before testing BOOST_HAS_PRAGMA_ONCE. --- include/boost/move/adl_move_swap.hpp | 4 ++++ include/boost/move/algorithm.hpp | 4 ++++ include/boost/move/core.hpp | 4 ++++ include/boost/move/default_delete.hpp | 4 ++++ include/boost/move/detail/fwd_macros.hpp | 4 ++++ include/boost/move/detail/iterator_traits.hpp | 4 ++++ include/boost/move/detail/meta_utils.hpp | 5 ++++- include/boost/move/detail/meta_utils_core.hpp | 4 ++++ include/boost/move/detail/move_helpers.hpp | 4 ++++ include/boost/move/detail/type_traits.hpp | 4 ++++ include/boost/move/detail/unique_ptr_meta_utils.hpp | 4 ++++ include/boost/move/detail/workaround.hpp | 4 ++++ include/boost/move/iterator.hpp | 4 ++++ include/boost/move/make_unique.hpp | 4 ++++ include/boost/move/move.hpp | 4 ++++ include/boost/move/traits.hpp | 4 ++++ include/boost/move/unique_ptr.hpp | 4 ++++ include/boost/move/utility.hpp | 4 ++++ include/boost/move/utility_core.hpp | 4 ++++ 19 files changed, 76 insertions(+), 1 deletion(-) diff --git a/include/boost/move/adl_move_swap.hpp b/include/boost/move/adl_move_swap.hpp index c049b03..2a010cd 100644 --- a/include/boost/move/adl_move_swap.hpp +++ b/include/boost/move/adl_move_swap.hpp @@ -12,6 +12,10 @@ #ifndef BOOST_MOVE_ADL_MOVE_SWAP_HPP #define BOOST_MOVE_ADL_MOVE_SWAP_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/move/algorithm.hpp b/include/boost/move/algorithm.hpp index 68bc3d9..fbda0f4 100644 --- a/include/boost/move/algorithm.hpp +++ b/include/boost/move/algorithm.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_MOVE_ALGORITHM_HPP #define BOOST_MOVE_ALGORITHM_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/move/core.hpp b/include/boost/move/core.hpp index ad830bd..408a713 100644 --- a/include/boost/move/core.hpp +++ b/include/boost/move/core.hpp @@ -16,6 +16,10 @@ #ifndef BOOST_MOVE_CORE_HPP #define BOOST_MOVE_CORE_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/move/default_delete.hpp b/include/boost/move/default_delete.hpp index 652f5aa..afe1b1b 100644 --- a/include/boost/move/default_delete.hpp +++ b/include/boost/move/default_delete.hpp @@ -11,6 +11,10 @@ #ifndef BOOST_MOVE_DEFAULT_DELETE_HPP_INCLUDED #define BOOST_MOVE_DEFAULT_DELETE_HPP_INCLUDED +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/move/detail/fwd_macros.hpp b/include/boost/move/detail/fwd_macros.hpp index 3e1545c..8d5ab2e 100644 --- a/include/boost/move/detail/fwd_macros.hpp +++ b/include/boost/move/detail/fwd_macros.hpp @@ -11,6 +11,10 @@ #ifndef BOOST_MOVE_DETAIL_FWD_MACROS_HPP #define BOOST_MOVE_DETAIL_FWD_MACROS_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/move/detail/iterator_traits.hpp b/include/boost/move/detail/iterator_traits.hpp index f9030bc..2c5dc3e 100644 --- a/include/boost/move/detail/iterator_traits.hpp +++ b/include/boost/move/detail/iterator_traits.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_MOVE_DETAIL_ITERATOR_TRAITS_HPP #define BOOST_MOVE_DETAIL_ITERATOR_TRAITS_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/move/detail/meta_utils.hpp b/include/boost/move/detail/meta_utils.hpp index 70fbc05..682c89c 100644 --- a/include/boost/move/detail/meta_utils.hpp +++ b/include/boost/move/detail/meta_utils.hpp @@ -14,10 +14,13 @@ #ifndef BOOST_MOVE_DETAIL_META_UTILS_HPP #define BOOST_MOVE_DETAIL_META_UTILS_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif - #include #include //for std::size_t diff --git a/include/boost/move/detail/meta_utils_core.hpp b/include/boost/move/detail/meta_utils_core.hpp index 274b585..283242b 100644 --- a/include/boost/move/detail/meta_utils_core.hpp +++ b/include/boost/move/detail/meta_utils_core.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_MOVE_DETAIL_META_UTILS_CORE_HPP #define BOOST_MOVE_DETAIL_META_UTILS_CORE_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/move/detail/move_helpers.hpp b/include/boost/move/detail/move_helpers.hpp index 7b42ded..f4fd26c 100644 --- a/include/boost/move/detail/move_helpers.hpp +++ b/include/boost/move/detail/move_helpers.hpp @@ -12,6 +12,10 @@ #ifndef BOOST_MOVE_MOVE_HELPERS_HPP #define BOOST_MOVE_MOVE_HELPERS_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/move/detail/type_traits.hpp b/include/boost/move/detail/type_traits.hpp index cf91acb..ad29e7f 100644 --- a/include/boost/move/detail/type_traits.hpp +++ b/include/boost/move/detail/type_traits.hpp @@ -16,6 +16,10 @@ #ifndef BOOST_MOVE_DETAIL_TYPE_TRAITS_HPP #define BOOST_MOVE_DETAIL_TYPE_TRAITS_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/move/detail/unique_ptr_meta_utils.hpp b/include/boost/move/detail/unique_ptr_meta_utils.hpp index 8bd8fa6..3372068 100644 --- a/include/boost/move/detail/unique_ptr_meta_utils.hpp +++ b/include/boost/move/detail/unique_ptr_meta_utils.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_MOVE_UNIQUE_PTR_DETAIL_META_UTILS_HPP #define BOOST_MOVE_UNIQUE_PTR_DETAIL_META_UTILS_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/move/detail/workaround.hpp b/include/boost/move/detail/workaround.hpp index a43db83..67ba161 100644 --- a/include/boost/move/detail/workaround.hpp +++ b/include/boost/move/detail/workaround.hpp @@ -11,6 +11,10 @@ #ifndef BOOST_MOVE_DETAIL_WORKAROUND_HPP #define BOOST_MOVE_DETAIL_WORKAROUND_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/move/iterator.hpp b/include/boost/move/iterator.hpp index aa00435..1b39e26 100644 --- a/include/boost/move/iterator.hpp +++ b/include/boost/move/iterator.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_MOVE_ITERATOR_HPP #define BOOST_MOVE_ITERATOR_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/move/make_unique.hpp b/include/boost/move/make_unique.hpp index d560790..bb59ab6 100644 --- a/include/boost/move/make_unique.hpp +++ b/include/boost/move/make_unique.hpp @@ -11,6 +11,10 @@ #ifndef BOOST_MOVE_MAKE_UNIQUE_HPP_INCLUDED #define BOOST_MOVE_MAKE_UNIQUE_HPP_INCLUDED +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/move/move.hpp b/include/boost/move/move.hpp index f934b76..62dddbc 100644 --- a/include/boost/move/move.hpp +++ b/include/boost/move/move.hpp @@ -17,6 +17,10 @@ #ifndef BOOST_MOVE_MOVE_HPP #define BOOST_MOVE_MOVE_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/move/traits.hpp b/include/boost/move/traits.hpp index ae7c5b6..b48b8f6 100644 --- a/include/boost/move/traits.hpp +++ b/include/boost/move/traits.hpp @@ -14,6 +14,10 @@ #ifndef BOOST_MOVE_TRAITS_HPP #define BOOST_MOVE_TRAITS_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/move/unique_ptr.hpp b/include/boost/move/unique_ptr.hpp index 7061e39..cbac2aa 100644 --- a/include/boost/move/unique_ptr.hpp +++ b/include/boost/move/unique_ptr.hpp @@ -11,6 +11,10 @@ #ifndef BOOST_MOVE_UNIQUE_PTR_HPP_INCLUDED #define BOOST_MOVE_UNIQUE_PTR_HPP_INCLUDED +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/move/utility.hpp b/include/boost/move/utility.hpp index 753fa3e..8f9c20b 100644 --- a/include/boost/move/utility.hpp +++ b/include/boost/move/utility.hpp @@ -16,6 +16,10 @@ #ifndef BOOST_MOVE_MOVE_UTILITY_HPP #define BOOST_MOVE_MOVE_UTILITY_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif diff --git a/include/boost/move/utility_core.hpp b/include/boost/move/utility_core.hpp index c99c151..7b88bc1 100644 --- a/include/boost/move/utility_core.hpp +++ b/include/boost/move/utility_core.hpp @@ -17,6 +17,10 @@ #ifndef BOOST_MOVE_MOVE_UTILITY_CORE_HPP #define BOOST_MOVE_MOVE_UTILITY_CORE_HPP +#ifndef BOOST_CONFIG_HPP +# include +#endif +# #if defined(BOOST_HAS_PRAGMA_ONCE) # pragma once #endif