vcl/opengl/FixedTextureAtlas.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7e415c83596c4bb68b527213a353454e35ca4221 Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Aug 24 15:39:21 2015 +0200 -Werror,-Wpessimizing-move ("moving a temporary object prevents copy elision") Change-Id: I9e5b74e5ff0348f0880972a82726178354ab7d0f diff --git a/vcl/opengl/FixedTextureAtlas.cxx b/vcl/opengl/FixedTextureAtlas.cxx index c8ca508..f6e4005 100644 --- a/vcl/opengl/FixedTextureAtlas.cxx +++ b/vcl/opengl/FixedTextureAtlas.cxx @@ -28,7 +28,7 @@ void FixedTextureAtlasManager::CreateNewTexture() { int nTextureWidth = mWidthFactor * mSubTextureSize; int nTextureHeight = mHeightFactor * mSubTextureSize; - mpTextures.push_back(std::move(std::unique_ptr<ImplOpenGLTexture>(new ImplOpenGLTexture(nTextureWidth, nTextureHeight, true)))); + mpTextures.push_back(std::unique_ptr<ImplOpenGLTexture>(new ImplOpenGLTexture(nTextureWidth, nTextureHeight, true))); mpTextures.back()->InitializeSlots(mWidthFactor * mHeightFactor); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits