diff --git a/apps/graph/app.cpp b/apps/graph/app.cpp index c634af459..610fc0ead 100644 --- a/apps/graph/app.cpp +++ b/apps/graph/app.cpp @@ -43,14 +43,6 @@ App::Descriptor * App::Snapshot::descriptor() { return &descriptor; } -CartesianFunctionStore * App::Snapshot::functionStore() { - return &m_functionStore; -} - -InteractiveCurveViewRange * App::Snapshot::graphRange() { - return &m_graphRange; -} - void App::Snapshot::tidy() { m_functionStore.tidy(); m_graphRange.setDelegate(nullptr); diff --git a/apps/graph/app.h b/apps/graph/app.h index e8679b037..d8be35f5b 100644 --- a/apps/graph/app.h +++ b/apps/graph/app.h @@ -25,8 +25,8 @@ public: App * unpack(Container * container) override; void reset() override; Descriptor * descriptor() override; - CartesianFunctionStore * functionStore() override; - Shared::InteractiveCurveViewRange * graphRange(); + CartesianFunctionStore * functionStore() override { return &m_functionStore; } + Shared::InteractiveCurveViewRange * graphRange() { return &m_graphRange; } Shared::Interval * intervalForType(Shared::CartesianFunction::PlotType plotType) { return m_interval + static_cast(plotType); }