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
|
@ -81,7 +81,7 @@ namespace sprout {
|
|||
public:
|
||||
template<typename Predicate, typename T>
|
||||
SPROUT_CONSTEXPR sprout::adaptors::replace_if_holder<Predicate, T>
|
||||
operator()(Predicate pred, T const& new_value) {
|
||||
operator()(Predicate pred, T const& new_value) const {
|
||||
return sprout::adaptors::replace_if_holder<Predicate, T>(pred, new_value);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue