[core] address nits

This commit is contained in:
Konstantin Käfer
2018-10-19 15:51:58 +02:00
parent 7692be5d15
commit 9afe75aa76
3 changed files with 5 additions and 5 deletions

View File

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