mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix: support for clang3.3
This commit is contained in:
parent
c8d3fbe597
commit
4182fb3fea
5 changed files with 16 additions and 8 deletions
|
@ -57,12 +57,12 @@ namespace sprout {
|
|||
public:
|
||||
template<typename Difference1, typename Difference2>
|
||||
SPROUT_CONSTEXPR sprout::adaptors::offset_holder<Difference1, Difference2>
|
||||
operator()(Difference1 from_begin, Difference2 from_end) {
|
||||
operator()(Difference1 from_begin, Difference2 from_end) const {
|
||||
return sprout::adaptors::offset_holder<Difference1, Difference2>(from_begin, from_end);
|
||||
}
|
||||
template<typename Difference>
|
||||
SPROUT_CONSTEXPR sprout::adaptors::offset_holder<Difference>
|
||||
operator()(Difference from_begin) {
|
||||
operator()(Difference from_begin) const {
|
||||
return sprout::adaptors::offset_holder<Difference>(from_begin);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue