diff --git a/include/Lz/Lz.hpp b/include/Lz/Lz.hpp index ed1eee3f..f4937acf 100644 --- a/include/Lz/Lz.hpp +++ b/include/Lz/Lz.hpp @@ -224,7 +224,7 @@ class IterView final : public internal::BasicIteratorView { // clang-format off //! See InclusiveScan.hpp for documentation. - template)> + template)> LZ_NODISCARD LZ_CONSTEXPR_CXX_20 IterView, internal::Decay>> iScan(T&& init = {}, BinaryOp&& binaryOp = {}) const { @@ -232,7 +232,7 @@ class IterView final : public internal::BasicIteratorView { } //! See ExclusiveScan.hpp for documentation. - template)> + template)> LZ_NODISCARD LZ_CONSTEXPR_CXX_20 IterView, internal::Decay>> eScan(T&& init = {}, BinaryOp&& binaryOp = {}) const {