CP.2_617: Switched to an alternate form of span<>.

This commit is contained in:
tal 2016-05-23 14:25:57 -07:00
parent 5eb0b587af
commit 5d19b4b875

View File

@ -10378,7 +10378,7 @@ Local static variables are a common source of data races.
{
array<double, max> buf;
int sz = read_vec(fs, buf, max); // read from fs into buf
gsl::span<double> s {buf, max};
gsl::span<double> s {buf};
// ...
auto h1 = async([&]{ sort(par, s); }); // spawn a task to sort
// ...