use explicit const&

This commit is contained in:
artemp 2017-02-22 12:33:18 +01:00
parent 4faf5b054b
commit 32e592fb7a

View file

@ -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;