1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix for constexpr disabled

This commit is contained in:
bolero-MURAKAMI 2013-02-20 02:23:20 +09:00
parent 84376c3f69
commit 4c996bd47b
58 changed files with 84 additions and 78 deletions

View file

@ -136,7 +136,7 @@ namespace sprout {
BinaryFunction,
typename std::remove_reference<typename sprout::lvalue_reference<RRange>::type>::type
>
operator()(RRange&& range, BinaryFunction func) {
operator()(RRange&& range, BinaryFunction func) const {
return sprout::adaptors::transform_holder<
BinaryFunction,
typename std::remove_reference<typename sprout::lvalue_reference<RRange>::type>::type
@ -147,7 +147,7 @@ namespace sprout {
}
template<typename UnaryFunction>
SPROUT_CONSTEXPR sprout::adaptors::transform_holder<UnaryFunction>
operator()(UnaryFunction func) {
operator()(UnaryFunction func) const {
return sprout::adaptors::transform_holder<UnaryFunction>(func);
}
};