make all possible functions const

This commit is contained in:
2023-08-18 11:44:10 +02:00
parent 11d21e2e89
commit 4cd2b9368d
18 changed files with 33 additions and 52 deletions
+3 -3
View File
@@ -84,7 +84,7 @@ class DriveManager : public Component {
*
* @return Navigation*
*/
Navigation* getNavigation() {return this->navigation;}
Navigation* getNavigation() const {return this->navigation;}
/**
* @brief Get the DriveModi Ptr object
@@ -96,14 +96,14 @@ class DriveManager : public Component {
* @see getDriveModi
* @return DriveModi*
*/
DriveModi* getDriveModiPtr() { return this->currentModusPtr; }
DriveModi* getDriveModiPtr() const { return this->currentModusPtr; }
/**
* @brief Get the DriveModi enum
*
* @return Modi
*/
Modi getDriveModi() { return this->currentModus; }
Modi getDriveModi() const { return this->currentModus; }
private:
void run() override;