File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ TEST_F(SchedulerTest, LeafLimit) {
3333 MS.getOrInsertMemObjRecord (detail::getSyclObjImpl (MQueue), &MockReq);
3434
3535 // Create commands that will be added as leaves exceeding the limit by 1
36- std::vector<MockCommand *> LeavesToAdd;
3736 for (std::size_t i = 0 ; i < Rec->MWriteLeaves .genericCommandsCapacity () + 1 ;
3837 ++i) {
3938 LeavesToAdd.push_back (
@@ -53,8 +52,8 @@ TEST_F(SchedulerTest, LeafLimit) {
5352 // and added as a dependency of the newest one instead
5453 const detail::CircularBuffer<detail::Command *> &Leaves =
5554 Rec->MWriteLeaves .getGenericCommands ();
56- ASSERT_TRUE (std::find (Leaves.begin (), Leaves.end (), LeavesToAdd. front ()) ==
57- Leaves.end ());
55+ ASSERT_TRUE (std::find (Leaves.begin (), Leaves.end (),
56+ LeavesToAdd. front (). get ()) == Leaves.end ());
5857 for (std::size_t i = 1 ; i < LeavesToAdd.size (); ++i) {
5958 assert (std::find (Leaves.begin (), Leaves.end (), LeavesToAdd[i].get ()) !=
6059 Leaves.end ());
You can’t perform that action at this time.
0 commit comments