[core] Avoid unnecessary copies in GlyphSet::insert

This commit is contained in:
John Firebaugh
2016-06-28 15:16:34 -07:00
parent 1311ed24ad
commit d58bee6d90
3 changed files with 5 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ void parseGlyphPBF(mbgl::GlyphSet& glyphSet, const std::string& data) {
}
}
glyphSet.insert(glyph.id, glyph);
glyphSet.insert(glyph.id, std::move(glyph));
}
}
}