[apps/continuous_function] Cut clearCache method

Inlined call to ContinuousFunction::clearCache and removed the method,
as its name was confusing.

Change-Id: I54454fb0b06167e01249afaa5b23932451125f2e
This commit is contained in:
Gabriel Ozouf
2020-07-03 16:51:03 +02:00
committed by Émilie Feral
parent 1de6ac702d
commit 2bfdc482a6
3 changed files with 5 additions and 6 deletions

View File

@@ -82,7 +82,6 @@ public:
// Cache
ContinuousFunctionCache * cache() const { return m_cache; }
void setCache(ContinuousFunctionCache * v) { m_cache = v; }
void clearCache() { m_cache = nullptr; }
Ion::Storage::Record::ErrorStatus setContent(const char * c, Poincare::Context * context) override;
private:
constexpr static float k_polarParamRangeSearchNumberOfPoints = 100.0f; // This is ad hoc, no special justification