From 68c9adb4891d50db383c8629f7c9882cb21b28b1 Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Mon, 23 Feb 2015 16:31:49 +0100 Subject: [PATCH] FlightHistory: make clear() public --- src/Aircraft/FlightHistory.hxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Aircraft/FlightHistory.hxx b/src/Aircraft/FlightHistory.hxx index f4e0e8d03..0716321b7 100644 --- a/src/Aircraft/FlightHistory.hxx +++ b/src/Aircraft/FlightHistory.hxx @@ -57,6 +57,13 @@ public: * the specified minimum length */ SGGeodVec pathForHistory(double minEdgeLengthM = 50.0) const; + + /** + * clear the history + */ + + void clear(); + private: /** * @class A single data sample in the history system. @@ -103,10 +110,9 @@ private: void allocateNewBucket(); - void clear(); void capture(); size_t currentMemoryUseBytes() const; }; -#endif \ No newline at end of file +#endif