From 5b1f8e83d4c1bf0bad1d7efc5edb636979f07360 Mon Sep 17 00:00:00 2001 From: Nissim Hadar Date: Tue, 9 Jan 2018 15:46:15 -0800 Subject: [PATCH] Removed gcc warning. --- libraries/render-utils/src/LightStage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/render-utils/src/LightStage.h b/libraries/render-utils/src/LightStage.h index 8da2ba3900..3dcae550f7 100644 --- a/libraries/render-utils/src/LightStage.h +++ b/libraries/render-utils/src/LightStage.h @@ -120,7 +120,7 @@ public: Index findLight(const LightPointer& light) const; Index addLight(const LightPointer& light, const bool shouldSetAsDefault = false); - const Index getDefaultLight() const { return _defaultLightId; } + Index getDefaultLight() { return _defaultLightId; } Index addShadow(Index lightIndex, float maxDistance = 20.0f, unsigned int cascadeCount = 1U);