Skip to content

Commit

Permalink
Reset changes in iterators test
Browse files Browse the repository at this point in the history
  • Loading branch information
kboyarinov committed Jan 15, 2024
1 parent 58ba11f commit 66fa575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel_api/iterator/iterators.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ struct test_transform_iterator {
auto list_it1 = oneapi::dpl::make_transform_iterator(f_list.begin(), ref_functor);
auto list_it2 = oneapi::dpl::make_transform_iterator(f_list.end(), ref_functor);
::std::fill(list_it1, list_it2, 7);
EXPECT_TRUE(::std::all_of(f_list.begin(), f_list.end(), [](int x){ return x == 7; }),
EXPECT_TRUE(::std::all_of(f_list.begin(), f_list.end(), [](int x){ return x == 7; }),
"wrong result from fill with forward_iterator wrapped with transform_iterator");

auto test_lambda = [](T2& x){ return x + 1; };
Expand Down

0 comments on commit 66fa575

Please sign in to comment.