]> git.mxchange.org Git - flightgear.git/commitdiff
FlightHistory: make clear() public
authorTorsten Dreyer <torsten@ŧ3r.de>
Mon, 23 Feb 2015 15:31:49 +0000 (16:31 +0100)
committerTorsten Dreyer <torsten@ŧ3r.de>
Mon, 23 Feb 2015 15:31:49 +0000 (16:31 +0100)
src/Aircraft/FlightHistory.hxx

index f4e0e8d036e75d788057d499212e773839ddbe1b..0716321b73300162657beeabab40e60ea684e629 100644 (file)
@@ -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