Skip to content
Snippets Groups Projects
Commit e746782d authored by cont-integration's avatar cont-integration
Browse files

[skip ci] applied clang format

parent 8ace3706
No related branches found
No related tags found
1 merge request!448Draft: Resolve "Implementation of new nodes creation"
Pipeline #20960 failed
......@@ -155,8 +155,7 @@ void TrackMatrix::cleanSnapshots()
// In two steps to avoid erasing while iterating
CaptureBasePtrList removing_captures;
for (auto snapshot_pair : snapshots_)
if (snapshot_pair.first->isRemoving())
removing_captures.push_back(snapshot_pair.first);
if (snapshot_pair.first->isRemoving()) removing_captures.push_back(snapshot_pair.first);
for (auto cap : removing_captures) remove(cap);
}
......
......@@ -356,7 +356,7 @@ TEST_F(TrackMatrixTest, clean_snapshots)
* f3 trk 1
*/
// remove F1 --> remove C1
// remove F1 --> remove C1
F1->remove();
track_matrix.cleanSnapshots();
......@@ -365,7 +365,7 @@ TEST_F(TrackMatrixTest, clean_snapshots)
/* KC0 C2 C3 KC4 snapshots
*
* f0---f2---f4---f5 trk 0
*
*
*/
ASSERT_EQ(track_matrix.numTracks(), 1);
ASSERT_EQ(track_matrix.trackSize(f0->trackId()), 4);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment