Commit be5c66a0 authored by Kurt Hindenburg's avatar Kurt Hindenburg

use auto range loops

parent 869c3616
......@@ -81,8 +81,8 @@ int main(int argc, char **argv)
quint32 glyphStates[128];
QMap<quint32, int> glyphMap;
for (int i = 0; i < 128; ++i)
glyphStates[i] = 0; //nothing..
for (unsigned int & glyphState : glyphStates)
glyphState = 0; //nothing..
while (!input.atEnd()) {
QString line = input.readLine();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment