diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-12-30 18:49:01 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-12-31 01:04:29 +0100 |
commit | c805a996c97097d2a47039355fffba678a84e1b0 (patch) | |
tree | 49236f5958a058dd761badc8c322310561234d4a /include/vcl/opengl/OpenGLContext.hxx | |
parent | 0bc12467453062737ebb762421f602884372df71 (diff) |
use constructor initializer list
Change-Id: Ieede6dec05f63ed0fa1dde376b2e89c381601cd6
Diffstat (limited to 'include/vcl/opengl/OpenGLContext.hxx')
-rw-r--r-- | include/vcl/opengl/OpenGLContext.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx index a98f82592e1b..60fc7fda9691 100644 --- a/include/vcl/opengl/OpenGLContext.hxx +++ b/include/vcl/opengl/OpenGLContext.hxx @@ -163,10 +163,10 @@ struct ProgramKey OUString maVertexShader; OUString maFragmentShader; - ProgramKey( const OUString& rVertexShader, const OUString& rFragmentShader ) + ProgramKey( const OUString& rVertexShader, const OUString& rFragmentShader ): + maVertexShader(rVertexShader), + maFragmentShader(rFragmentShader) { - maVertexShader = rVertexShader; - maFragmentShader = rFragmentShader; } }; |