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
|
@ -57,12 +57,12 @@ namespace sprout {
|
|||
public:
|
||||
template<typename Difference1, typename Difference2>
|
||||
SPROUT_CONSTEXPR sprout::adaptors::window_holder<Difference1, Difference2>
|
||||
operator()(Difference1 to_first, Difference2 to_last) {
|
||||
operator()(Difference1 to_first, Difference2 to_last) const {
|
||||
return sprout::adaptors::window_holder<Difference1, Difference2>(to_first, to_last);
|
||||
}
|
||||
template<typename Difference>
|
||||
SPROUT_CONSTEXPR sprout::adaptors::window_holder<Difference>
|
||||
operator()(Difference to_first) {
|
||||
operator()(Difference to_first) const {
|
||||
return sprout::adaptors::window_holder<Difference>(to_first);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue