summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-30 18:49:01 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-01-28 14:25:18 +0000
commit1313ab6957d8be2fe388af04ecce82a50f0c71c0 (patch)
tree733d3ba18aba4936fc66d0b96df30b7129752960
parentd2819f2f47f8a98e0ee58242d9a2b54fca383add (diff)
use constructor initializer list
Change-Id: Ieede6dec05f63ed0fa1dde376b2e89c381601cd6 Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
-rw-r--r--include/vcl/opengl/OpenGLContext.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index 717502309fd9..1ae9ac6e0545 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -166,10 +166,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;
}
};