Cleanup compiler warnings

The unique_ptr / shared_ptr patch introduced a compiler
warning. This corrects that issue.
This commit is contained in:
Rian Quinn 2016-11-16 10:42:46 -07:00 committed by Neil MacIntosh
parent a8c794602a
commit bdcef948a5

View File

@ -507,8 +507,8 @@ SUITE(span_tests)
{
auto arr = std::make_unique<int[]>(4);
for (auto i = 0; i < 4; i++)
arr[i] = i + 1;
for (auto i = 0U; i < 4; i++)
arr[i] = gsl::narrow_cast<int>(i + 1);
{
span<int> s{arr, 4};