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

@ -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);
}
};