From 8c26a50a12f9e312420af99d55fc09324178ffd5 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Thu, 12 Nov 2020 08:32:46 -0800 Subject: [PATCH] Fix incorrect include guards (copypasta). Thanks to Anton Vasin (tony-space) for the bug report and fix --- include/boost/algorithm/cxx17/inclusive_scan.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/algorithm/cxx17/inclusive_scan.hpp b/include/boost/algorithm/cxx17/inclusive_scan.hpp index 5781267..fcc9bc2 100644 --- a/include/boost/algorithm/cxx17/inclusive_scan.hpp +++ b/include/boost/algorithm/cxx17/inclusive_scan.hpp @@ -9,8 +9,8 @@ /// \brief Combine the (transformed) elements of a sequence (or two) into a single value. /// \author Marshall Clow -#ifndef BOOST_ALGORITHM_TRANSFORM_REDUCE_HPP -#define BOOST_ALGORITHM_TRANSFORM_REDUCE_HPP +#ifndef BOOST_ALGORITHM_INCLUSIVE_SCAN_HPP +#define BOOST_ALGORITHM_INCLUSIVE_SCAN_HPP #include // for std::plus #include // for std::iterator_traits @@ -58,4 +58,4 @@ OutputIterator inclusive_scan(InputIterator first, InputIterator last, }} // namespace boost and algorithm -#endif // BOOST_ALGORITHM_TRANSFORM_REDUCE_HPP +#endif // BOOST_ALGORITHM_INCLUSIVE_SCAN_HPP