We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebad7ee commit 88a3f35Copy full SHA for 88a3f35
RegularConvertor/algorithms/algorithm.cpp
@@ -10,9 +10,9 @@ Algorithm::Algorithm(QObject* parent)
10
void Algorithm::initBreakpoints(int _num)
11
{
12
breakpoints.resize(_num);
13
- foreach(bool breakpoint,breakpoints)
+ for(int i = 0; i < _num; i++)
14
15
- breakpoint = false;
+ breakpoints[i] = false;
16
}
17
18
0 commit comments