mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-11-14 10:39:05 +00:00
fix less namespace and header
This commit is contained in:
parent
69a735f874
commit
bbeb2f1b4b
2 changed files with 4 additions and 10 deletions
|
@ -12,7 +12,7 @@
|
|||
#include <iterator>
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/iterator/operation.hpp>
|
||||
#include HDR_FUNCTIONAL_SSCRISK_CEL_OR_SPROUT
|
||||
#include <sprout/functional/less.hpp>
|
||||
|
||||
namespace sprout {
|
||||
|
||||
|
@ -35,10 +35,7 @@ namespace sprout {
|
|||
template<typename ForwardIterator, typename T>
|
||||
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
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include <iterator>
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/iterator/operation.hpp>
|
||||
#include HDR_FUNCTIONAL_SSCRISK_CEL_OR_SPROUT
|
||||
#include <sprout/functional/less.hpp>
|
||||
|
||||
namespace sprout {
|
||||
|
||||
|
@ -35,10 +35,7 @@ namespace sprout {
|
|||
template<typename ForwardIterator, typename T>
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue