Update arrayFill.cpp

This commit is contained in:
hcz 2019-10-18 21:31:18 +08:00 committed by GitHub
parent b87fe27cd6
commit 2be06255b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,8 @@ struct ArrayFillImpl
for (; end <= array_end; ++end)
{
if (end == array_end || fill[end + 1] != fill[begin]) {
if (end == array_end || fill[end + 1] != fill[begin])
{
if (fill[begin])
{
if constexpr (Reverse)