mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
[apps/shared] Define static app() accessor in FunctionApp class
This commit is contained in:
committed by
EmilieNumworks
parent
2c9489966d
commit
ff887ec4a0
@@ -111,8 +111,7 @@ double FunctionGraphController::defaultCursorAbscissa() {
|
||||
}
|
||||
|
||||
FunctionStore * FunctionGraphController::functionStore() const {
|
||||
FunctionApp * myApp = static_cast<FunctionApp *>(app());
|
||||
return myApp->functionStore();
|
||||
return FunctionApp::app()->functionStore();
|
||||
}
|
||||
|
||||
void FunctionGraphController::initCursorParameters() {
|
||||
|
||||
Reference in New Issue
Block a user