[shared] StorageFunction: fix

This commit is contained in:
Émilie Feral
2018-10-11 12:02:55 +02:00
parent 2cae9938fd
commit de25fddc88
2 changed files with 2 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ int StorageFunctionStore::numberOfActiveFunctions() const {
}
StorageFunction * StorageFunctionStore::activeFunctionAtIndex(int i) {
StorageFunction * StorageFunctionStore::activeFunctionAtIndex(int i) const {
assert(i >= 0 && i < numberOfDefinedModels());
int index = 0;
int currentModelIndex = 0;