AP_Stats: Add missing const in member functions

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
Patrick José Pereira 2021-02-01 13:26:35 -03:00 committed by Andrew Tridgell
parent 705a885d82
commit e146483e72
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public:
void set_flying(bool b);
// accessor for is_flying
bool get_is_flying(void) {
bool get_is_flying(void) const {
return _flying_ms != 0;
}