FlightHistory: make clear() public
This commit is contained in:
parent
c9c0833741
commit
68c9adb489
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue