mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
AP_HAL_Linux: Util: fix overriden function signature
While at it, add final and override to mark this as being the overriden final implementation of this method. Thanks to Phillip Khandeliants (@khandeliants) for reporting.
This commit is contained in:
parent
6f952fe3dd
commit
008e631147
@ -48,7 +48,7 @@ public:
|
||||
*/
|
||||
void set_system_clock(uint64_t time_utc_usec);
|
||||
const char* get_custom_log_directory() { return custom_log_directory; }
|
||||
const char* get_custom_terrain_directory() { return custom_terrain_directory; }
|
||||
const char* get_custom_terrain_directory() const override final { return custom_terrain_directory; }
|
||||
|
||||
void set_custom_log_directory(const char *_custom_log_directory) { custom_log_directory = _custom_log_directory; }
|
||||
void set_custom_terrain_directory(const char *_custom_terrain_directory) { custom_terrain_directory = _custom_terrain_directory; }
|
||||
|
Loading…
Reference in New Issue
Block a user