diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-12-29 00:15:10 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-12-29 00:15:10 +0000 |
commit | c7d16559dc9fc00e610ef24e1c3331678e36f2bd (patch) | |
tree | 7cd889c64f8041f057a6758e0872e047bd9f5f13 /gfx/gl/sceneShader.h | |
parent | Tidy Camera::extentsAtDist (diff) | |
download | ilt-c7d16559dc9fc00e610ef24e1c3331678e36f2bd.tar.bz2 ilt-c7d16559dc9fc00e610ef24e1c3331678e36f2bd.tar.xz ilt-c7d16559dc9fc00e610ef24e1c3331678e36f2bd.zip |
Add missing explicit on constructors
Diffstat (limited to 'gfx/gl/sceneShader.h')
-rw-r--r-- | gfx/gl/sceneShader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/sceneShader.h b/gfx/gl/sceneShader.h index 62df9bf..9db6ebf 100644 --- a/gfx/gl/sceneShader.h +++ b/gfx/gl/sceneShader.h @@ -9,7 +9,7 @@ class SceneShader { class SceneProgram : public Program { public: template<typename... S> - inline SceneProgram(const S &... srcs) : + inline explicit SceneProgram(const S &... srcs) : Program {srcs...}, viewProjectionLoc {*this, "viewProjection"}, viewPortLoc {*this, "viewPort"} { } |