summaryrefslogtreecommitdiff
path: root/src/mbgl/programs
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-10-19 15:51:58 +0200
committerKonstantin Käfer <mail@kkaefer.com>2018-10-23 12:23:40 +0200
commit9afe75aa76c02db21209e8f92b09be4b596a3983 (patch)
tree747d6fdd27550bf058dba6445794a7513761b6ad /src/mbgl/programs
parent7692be5d1571f2c02303aec1eb27432f634d0db2 (diff)
downloadqtlocation-mapboxgl-9afe75aa76c02db21209e8f92b09be4b596a3983.tar.gz
[core] address nits
Diffstat (limited to 'src/mbgl/programs')
-rw-r--r--src/mbgl/programs/program_parameters.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/programs/program_parameters.cpp b/src/mbgl/programs/program_parameters.cpp
index 2c70062e08..6b6c2bb2fe 100644
--- a/src/mbgl/programs/program_parameters.cpp
+++ b/src/mbgl/programs/program_parameters.cpp
@@ -11,7 +11,7 @@ ProgramParameters::ProgramParameters(const float pixelRatio,
result.reserve(32);
result += "#define DEVICE_PIXEL_RATIO ";
result += util::toString(pixelRatio, true);
- result += "\n";
+ result += '\n';
if (overdraw) {
result += "#define OVERDRAW_INSPECTOR\n";
}
@@ -33,7 +33,7 @@ optional<std::string> ProgramParameters::cachePath(const char* name) const {
result += *cacheDir;
result += "/com.mapbox.gl.shader.";
result += name;
- result += ".";
+ result += '.';
result += util::toHex(std::hash<std::string>()(defines));
result += ".pbf";
return result;