AC_Avoidance: 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:25 -03:00 committed by Andrew Tridgell
parent 7be27235f3
commit e4fb439a96

View File

@ -81,7 +81,7 @@ public:
// enable/disable proximity based avoidance // enable/disable proximity based avoidance
void proximity_avoidance_enable(bool on_off) { _proximity_enabled = on_off; } void proximity_avoidance_enable(bool on_off) { _proximity_enabled = on_off; }
bool proximity_avoidance_enabled() { return _proximity_enabled; } bool proximity_avoidance_enabled() const { return _proximity_enabled; }
// helper functions // helper functions