[apps/shared] Define static app() accessor in FunctionApp class

This commit is contained in:
Ruben Dashyan
2019-07-18 17:48:27 +02:00
committed by EmilieNumworks
parent 2c9489966d
commit ff887ec4a0
10 changed files with 15 additions and 18 deletions

View File

@@ -112,8 +112,7 @@ ExpiringPointer<Function> ListParameterController::function() {
}
FunctionStore * ListParameterController::functionStore() {
FunctionApp * a = static_cast<FunctionApp *>(app());
return a->functionStore();
return FunctionApp::app()->functionStore();
}