From 26b796f67d0af131d30354846833bae0053044da Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Fri, 8 Mar 2019 15:18:24 +0100 Subject: [PATCH] const & is a bit faster here --- src/imageformats/exr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imageformats/exr.cpp b/src/imageformats/exr.cpp index 07ead6c..3f60515 100644 --- a/src/imageformats/exr.cpp +++ b/src/imageformats/exr.cpp @@ -82,7 +82,7 @@ void K_IStream::clear() * format into the normal 32 bit pixel format. Process is from the * ILM code. */ -QRgb RgbaToQrgba(struct Imf::Rgba imagePixel) +QRgb RgbaToQrgba(struct Imf::Rgba &imagePixel) { float r, g, b, a;