reference returned now

This commit is contained in:
Robin Müller 2021-02-14 17:44:16 +01:00 committed by Robin Mueller
parent 5fb848d731
commit f6b624f41e
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ void GpioCookie::addGpio(gpioId_t gpioId, GpioConfig_t gpioConfig){
} }
} }
GpioMap GpioCookie::getGpioMap() const{ GpioMap& GpioCookie::getGpioMap() const {
return gpioMap; return gpioMap;
} }

View File

@ -65,7 +65,7 @@ public:
/** /**
* @brief Get map with registered GPIOs. * @brief Get map with registered GPIOs.
*/ */
GpioMap getGpioMap() const; GpioMap& getGpioMap() const;
private: private: