Skip to content

Commit 88a3f35

Browse files
author
David Navrkal
committed
Repaired dummi foreach initialization.
1 parent ebad7ee commit 88a3f35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RegularConvertor/algorithms/algorithm.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Algorithm::Algorithm(QObject* parent)
1010
void Algorithm::initBreakpoints(int _num)
1111
{
1212
breakpoints.resize(_num);
13-
foreach(bool breakpoint,breakpoints)
13+
for(int i = 0; i < _num; i++)
1414
{
15-
breakpoint = false;
15+
breakpoints[i] = false;
1616
}
1717
}
1818

0 commit comments

Comments
 (0)