From c0c8490b95f58e5105d0285bc675ba158f2e798c Mon Sep 17 00:00:00 2001 From: mrgreywater Date: Tue, 11 Aug 2015 12:47:44 +0200 Subject: [PATCH] Maintain compatibility with gcc 4.6 This fixes a compatibility issue when compiling with gcc 4.6 (which is the version distributed with raspbian by default) Former-commit-id: ff8518cbc0627049526138b67f4965cedfdfd4be --- libsrc/leddevice/LedDevicePhilipsHue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/leddevice/LedDevicePhilipsHue.h b/libsrc/leddevice/LedDevicePhilipsHue.h index 17d78618..59c0383d 100755 --- a/libsrc/leddevice/LedDevicePhilipsHue.h +++ b/libsrc/leddevice/LedDevicePhilipsHue.h @@ -134,7 +134,7 @@ public: /// @param lightIds light ids of the lights to control if not starting at one in ascending order. /// LedDevicePhilipsHue(const std::string& output, const std::string& username = "newdeveloper", bool switchOffOnBlack = - false, int transitiontime = 1, std::vector lightIds = {}); + false, int transitiontime = 1, std::vector lightIds = std::vector()); /// /// Destructor of this device