diff --git a/apps/shared/storage_function.cpp b/apps/shared/storage_function.cpp index d88630ac4..ac980af51 100644 --- a/apps/shared/storage_function.cpp +++ b/apps/shared/storage_function.cpp @@ -1,4 +1,5 @@ #include "storage_function.h" +#include #include #include #include diff --git a/apps/shared/storage_function_store.cpp b/apps/shared/storage_function_store.cpp index ace60daaa..db57a5eb6 100644 --- a/apps/shared/storage_function_store.cpp +++ b/apps/shared/storage_function_store.cpp @@ -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;