[apps/graph] Remove an undefined order

Change-Id: If73735421518adab5b1efe184e675fe2966d612b
This commit is contained in:
Romain Goyet
2016-09-15 20:48:48 +02:00
parent b5ec82b488
commit dde5200263

View File

@@ -20,7 +20,8 @@ Graph::Function * Graph::FunctionStore::functionAtIndex(int i) {
void Graph::FunctionStore::pushFunction(const char * functionText) {
assert(m_numberOfFunctions < k_maxNumberOfFunctions);
m_functions[m_numberOfFunctions++] = Function(functionText, defaultColors[m_numberOfFunctions%numberOfDefaultColors]);
m_functions[m_numberOfFunctions] = Function(functionText, defaultColors[m_numberOfFunctions%numberOfDefaultColors]);
m_numberOfFunctions++;
}
int Graph::FunctionStore::numberOfFunctions() {