mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Merge pull request #217 from neilmacintosh/dev/neilmac/bugfix
Addressing #178: wrong return type for function.
This commit is contained in:
commit
8e744b2671
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user