diff --git a/README.md b/README.md index 0d908c1..7d0baf5 100755 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ hueplusplus::Light light1 = bridge.lights().get(1); If you don't know the id of a specific light or want to get an overview over all lights that are controlled by your bridge, you can get a vector containing them by calling getAll(). If no lights are found the vector will be empty. ```C++ -std::vector> lights = bridge.lights().getAll(); +std::vector lights = bridge.lights().getAll(); ``` If you now want to control a light, call a specific function of it. ```C++ diff --git a/doc/markdown/Mainpage.md b/doc/markdown/Mainpage.md index dd2cdb7..5af8285 100644 --- a/doc/markdown/Mainpage.md +++ b/doc/markdown/Mainpage.md @@ -66,7 +66,7 @@ hueplusplus::Light light1 = bridge.lights().get(1); If you don't know the id of a specific light or want to get an overview over all lights that are controlled by your bridge, you can get a vector containing them by calling [getAll()](@ref hueplusplus::ResourceList::getAll) on your bridge object. If no lights are found the vector will be empty. ```{.cpp} -std::vector> lights = bridge.lights().getAll(); +std::vector lights = bridge.lights().getAll(); ``` If you now want to control a light, call a specific function of it. ```{.cpp}