From ba2da4e9cd4a8d58fe94b7b921bd0eeb00217505 Mon Sep 17 00:00:00 2001 From: Ostoic Date: Wed, 19 Dec 2018 14:54:46 -0500 Subject: [PATCH] Fixed wrong header guard being used The header guard for this file should be SPROUT_RANGE_ALGORITHM_ANY_OF_EQUAL_HPP, not SPROUT_RANGE_ALGORITHM_ALL_OF_EQUAL_HPP. If /range/algorithm/all_of_equal.hpp is included then sprout::range::any_of_equal will not be available for use after. --- sprout/range/algorithm/any_of_equal.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sprout/range/algorithm/any_of_equal.hpp b/sprout/range/algorithm/any_of_equal.hpp index d458f93b..3144e455 100644 --- a/sprout/range/algorithm/any_of_equal.hpp +++ b/sprout/range/algorithm/any_of_equal.hpp @@ -5,8 +5,8 @@ Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =============================================================================*/ -#ifndef SPROUT_RANGE_ALGORITHM_ALL_OF_EQUAL_HPP -#define SPROUT_RANGE_ALGORITHM_ALL_OF_EQUAL_HPP +#ifndef SPROUT_RANGE_ALGORITHM_ANY_OF_EQUAL_HPP +#define SPROUT_RANGE_ALGORITHM_ANY_OF_EQUAL_HPP #include #include @@ -25,4 +25,4 @@ namespace sprout { } // namespace range } // namespace sprout -#endif // #ifndef SPROUT_RANGE_ALGORITHM_ALL_OF_EQUAL_HPP +#endif // #ifndef SPROUT_RANGE_ALGORITHM_ANY_OF_EQUAL_HPP