diff options
author | Dane Springmeyer <dane@mapbox.com> | 2014-05-29 18:07:19 -0700 |
---|---|---|
committer | Dane Springmeyer <dane@mapbox.com> | 2014-05-29 18:07:19 -0700 |
commit | f5394a76383507565fb4f798d3fe4afdd0fa5c15 (patch) | |
tree | 7507fa0f7ba0b4ff2a297acca4575219623a01cd /src/text | |
parent | 0b9c45721f4feedee49475454eb2a3f0c193d069 (diff) | |
download | qtlocation-mapboxgl-f5394a76383507565fb4f798d3fe4afdd0fa5c15.tar.gz |
release mode: silent debug output + ifdef any potentially expensive calls
Diffstat (limited to 'src/text')
-rw-r--r-- | src/text/glyph_store.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/text/glyph_store.cpp b/src/text/glyph_store.cpp index 3f741236f0..4a4517b701 100644 --- a/src/text/glyph_store.cpp +++ b/src/text/glyph_store.cpp @@ -52,7 +52,9 @@ GlyphPBF::GlyphPBF(const std::string &fontStack, GlyphRange glyphRange) // TODO: Find more reliable URL normalization function std::replace(url.begin(), url.end(), ' ', '+'); +#if defined(DEBUG) fprintf(stderr, "%s\n", url.c_str()); +#endif platform::request_http(url, [&](platform::Response *res) { if (res->code != 200) { |