From: Torsten Dreyer Date: Mon, 23 Feb 2015 15:31:49 +0000 (+0100) Subject: FlightHistory: make clear() public X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=68c9adb4891d50db383c8629f7c9882cb21b28b1;p=flightgear.git FlightHistory: make clear() public --- 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