diff --git a/include/span.h b/include/span.h index fd15472..6ee810d 100644 --- a/include/span.h +++ b/include/span.h @@ -327,9 +327,9 @@ namespace details } template - bool contains(const T&) const + size_type contains(const T&) const { - return false; + return -1; } size_type elementNum(size_t) const noexcept { return 0; }