diff --git a/Controllers/PhilipsHueController/PhilipsHueEntertainmentController.cpp b/Controllers/PhilipsHueController/PhilipsHueEntertainmentController.cpp index a4d1a4f95..34bfa6275 100644 --- a/Controllers/PhilipsHueController/PhilipsHueEntertainmentController.cpp +++ b/Controllers/PhilipsHueController/PhilipsHueEntertainmentController.cpp @@ -6,7 +6,7 @@ #include "PhilipsHueEntertainmentController.h" -PhilipsHueEntertainmentController::PhilipsHueEntertainmentController(hueplusplus::Bridge& bridge_ptr, hueplusplus::Group& group_ptr):bridge(bridge_ptr),group(group_ptr) +PhilipsHueEntertainmentController::PhilipsHueEntertainmentController(hueplusplus::Bridge& bridge_ptr, hueplusplus::Group group_ptr):bridge(bridge_ptr),group(group_ptr) { /*-------------------------------------------------*\ | Fill in location string with bridge IP | diff --git a/Controllers/PhilipsHueController/PhilipsHueEntertainmentController.h b/Controllers/PhilipsHueController/PhilipsHueEntertainmentController.h index 6289c02db..8bbef2c4c 100644 --- a/Controllers/PhilipsHueController/PhilipsHueEntertainmentController.h +++ b/Controllers/PhilipsHueController/PhilipsHueEntertainmentController.h @@ -20,7 +20,7 @@ class PhilipsHueEntertainmentController { public: - PhilipsHueEntertainmentController(hueplusplus::Bridge& bridge_ptr, hueplusplus::Group& group_ptr); + PhilipsHueEntertainmentController(hueplusplus::Bridge& bridge_ptr, hueplusplus::Group group_ptr); ~PhilipsHueEntertainmentController(); std::string GetLocation(); @@ -34,7 +34,7 @@ public: private: hueplusplus::Bridge& bridge; - hueplusplus::Group& group; + hueplusplus::Group group; hueplusplus::EntertainmentMode* entertainment; std::string location;