1
0
mirror of https://github.com/microsoft/GSL.git synced 2025-03-30 00:09:44 -04:00

remove comparison to dynamic_extent

This commit is contained in:
Jordan Maples [MSFT] 2020-02-03 13:53:38 -08:00
parent 3e40b3fa4b
commit d9d6ea8196

@ -517,13 +517,13 @@ public:
constexpr reference front() const noexcept
{
Expects(size() != dynamic_extent && size() > 0);
Expects(size() > 0);
return data()[0];
}
constexpr reference back() const noexcept
{
Expects(size() != dynamic_extent && size() > 0);
Expects(size() > 0);
return data()[size() - 1];
}