We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0d50f80 + c602d2d commit 7e0435aCopy full SHA for 7e0435a
1 file changed
src/limitless/lighting/light_container.cpp
@@ -77,7 +77,7 @@ Light& LightContainer::add(Light&& light) {
77
Light& LightContainer::add(const Light& light) {
78
// add new light to all lights
79
auto copy = light;
80
- lights.emplace(light.getId(), std::move(copy));
+ lights.emplace(copy.getId(), std::move(copy));
81
82
// add corresponding internal presentation
83
internal_lights.emplace(copy.getId(), light);
0 commit comments