check span size is a check

This commit is contained in:
Paul Ferrand 2020-05-29 14:02:24 +02:00
parent f26be4e2b6
commit 2bf960df27

View file

@ -397,7 +397,7 @@ constexpr bool checkSpanSizes(const absl::Span<T>& span1, Others... others)
return _checkSpanSizes(span1.size(), others...); return _checkSpanSizes(span1.size(), others...);
} }
#define CHECK_SPAN_SIZES(...) ASSERT(checkSpanSizes(__VA_ARGS__)) #define CHECK_SPAN_SIZES(...) CHECK(checkSpanSizes(__VA_ARGS__))
class ScopedRoundingMode { class ScopedRoundingMode {