diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-11-12 17:12:19 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-11-16 12:25:47 -0800 |
commit | 1caf89c32b80dc300b1fd349a2ece4557890c727 (patch) | |
tree | 21d66457063e8bcbf44b7604299dec7a6ac90f7f /src/mbgl/text | |
parent | 36581f3d3015d525db92248004e9dc7477705694 (diff) | |
download | qtlocation-mapboxgl-1caf89c32b80dc300b1fd349a2ece4557890c727.tar.gz |
[core] Pass a value to response callback, not a reference
Diffstat (limited to 'src/mbgl/text')
-rw-r--r-- | src/mbgl/text/glyph_pbf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/text/glyph_pbf.cpp b/src/mbgl/text/glyph_pbf.cpp index 635c434a80..9d7deb238d 100644 --- a/src/mbgl/text/glyph_pbf.cpp +++ b/src/mbgl/text/glyph_pbf.cpp @@ -74,7 +74,7 @@ GlyphPBF::GlyphPBF(GlyphStore* store, return ""; }); - auto requestCallback = [this, store, fontStack, url](const Response &res) { + auto requestCallback = [this, store, fontStack, url](Response res) { if (res.stale) { // Only handle fresh responses. return; |