reference returned now

This commit is contained in:
Robin Müller 2021-02-14 17:44:16 +01:00
parent c6e145f17d
commit 9a995a9b5c
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;
}

View File

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