mirror of
https://github.com/microsoft/GSL.git
synced 2026-04-29 10:13:32 +02:00
Addressing #178: wrong return type for function.
This commit is contained in:
+2
-2
@@ -327,9 +327,9 @@ namespace details
|
||||
}
|
||||
|
||||
template <typename T, size_t Dim>
|
||||
bool contains(const T&) const
|
||||
size_type contains(const T&) const
|
||||
{
|
||||
return false;
|
||||
return -1;
|
||||
}
|
||||
|
||||
size_type elementNum(size_t) const noexcept { return 0; }
|
||||
|
||||
Reference in New Issue
Block a user