mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Addressing #178: wrong return type for function.
This commit is contained in:
parent
e10d2e3028
commit
f76f739805
@ -327,9 +327,9 @@ namespace details
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <typename T, size_t Dim>
|
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; }
|
size_type elementNum(size_t) const noexcept { return 0; }
|
||||||
|
Loading…
Reference in New Issue
Block a user