From 3adc93888b06e3fda5a9f6eee902f87a94d3e604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 20 Oct 2015 23:47:38 +0200 Subject: [PATCH] Text: remove superfluous std::move(). Clang 3.7 complained that it would prevent copy elision optimizations. Thanks, Clang! On the other hand, I have a weird feeling that this would break the build somewhere else... --- src/Magnum/Text/AbstractFontConverter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Text/AbstractFontConverter.cpp b/src/Magnum/Text/AbstractFontConverter.cpp index b5dd6baee..b744bd8eb 100644 --- a/src/Magnum/Text/AbstractFontConverter.cpp +++ b/src/Magnum/Text/AbstractFontConverter.cpp @@ -67,7 +67,7 @@ std::vector>> AbstractFontConvert "Text::AbstractFontConverter::exportFontToData(): feature advertised but not implemented", {}); std::vector>> out; - out.emplace_back(filename, std::move(doExportFontToSingleData(font, cache, characters))); + out.emplace_back(filename, doExportFontToSingleData(font, cache, characters)); return out; } @@ -119,7 +119,7 @@ std::vector>> AbstractFontConvert "Text::AbstractFontConverter::exportGlyphCacheToData(): feature advertised but not implemented", {}); std::vector>> out; - out.emplace_back(filename, std::move(doExportGlyphCacheToSingleData(cache))); + out.emplace_back(filename, doExportGlyphCacheToSingleData(cache)); return out; }