diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/collections.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/collections.hpp b/lib/collections.hpp index 391647e..16870be 100644 --- a/lib/collections.hpp +++ b/lib/collections.hpp @@ -55,9 +55,8 @@ operator*(const std::array<T, N> & in, auto && f) return out; } -template<typename T> constexpr auto & -operator*=(std::span<T> & in, auto && f) +operator*=(IterableCollection auto & in, auto && f) { for (auto & v : in) { f(v); |