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:
parent
84376c3f69
commit
4c996bd47b
58 changed files with 84 additions and 78 deletions
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue