From 32e592fb7a151cc7c9fb58456aeb1592d4666435 Mon Sep 17 00:00:00 2001 From: artemp Date: Wed, 22 Feb 2017 12:33:18 +0100 Subject: [PATCH] use explicit const& --- include/mapnik/text/harfbuzz_shaper.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mapnik/text/harfbuzz_shaper.hpp b/include/mapnik/text/harfbuzz_shaper.hpp index dfcc79ec0..c1544179c 100644 --- a/include/mapnik/text/harfbuzz_shaper.hpp +++ b/include/mapnik/text/harfbuzz_shaper.hpp @@ -188,8 +188,8 @@ static void shape_text(text_line & line, for (auto const& info : c) { face_ptr theface = face; - auto & gpos = info.position; - auto & glyph = info.glyph; + auto const& gpos = info.position; + auto const& glyph = info.glyph; if (info.glyph.codepoint != 0) { theface = info.face;