From bbeb2f1b4b0ac6ff41502e7a41b2fdb754471649 Mon Sep 17 00:00:00 2001 From: Bolero-MURAKAMI Date: Sat, 31 Aug 2013 08:29:24 +0900 Subject: [PATCH] fix less namespace and header --- sprout/algorithm/lower_bound.hpp | 7 ++----- sprout/algorithm/upper_bound.hpp | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/sprout/algorithm/lower_bound.hpp b/sprout/algorithm/lower_bound.hpp index 61c5f4d4..eff2721e 100644 --- a/sprout/algorithm/lower_bound.hpp +++ b/sprout/algorithm/lower_bound.hpp @@ -12,7 +12,7 @@ #include #include #include -#include HDR_FUNCTIONAL_SSCRISK_CEL_OR_SPROUT +#include namespace sprout { @@ -35,10 +35,7 @@ namespace sprout { template inline SPROUT_CONSTEXPR ForwardIterator lower_bound(ForwardIterator first, ForwardIterator last, T const& value) { - return sprout::lower_bound( - first, last, value, - NS_SSCRISK_CEL_OR_SPROUT::less<>() - ); + return sprout::lower_bound(first, last, value, sprout::less<>()); } } // namespace sprout diff --git a/sprout/algorithm/upper_bound.hpp b/sprout/algorithm/upper_bound.hpp index fdb1ec0b..56532f7c 100644 --- a/sprout/algorithm/upper_bound.hpp +++ b/sprout/algorithm/upper_bound.hpp @@ -12,7 +12,7 @@ #include #include #include -#include HDR_FUNCTIONAL_SSCRISK_CEL_OR_SPROUT +#include namespace sprout { @@ -35,10 +35,7 @@ namespace sprout { template inline SPROUT_CONSTEXPR ForwardIterator upper_bound(ForwardIterator first, ForwardIterator last, T const& value) { - return sprout::upper_bound( - first, last, value, - NS_SSCRISK_CEL_OR_SPROUT::less<>() - ); + return sprout::upper_bound(first, last, value, sprout::less<>()); } } // namespace sprout