Lookup shaping value by string key. Refs #272.

This commit is contained in:
Young Hahn
2014-05-29 12:13:56 -04:00
parent bdb16b9ae7
commit 72a71c6f70

View File

@@ -112,7 +112,7 @@ void TextBucket::addFeature(const VectorTileFeature &feature,
}
const Value &value = it_prop->second;
auto it_shaping = shapings.find(value);
auto it_shaping = shapings.find(toString(value));
if (it_shaping == shapings.end()) {
if (debug::shapingWarning) {
fprintf(stderr, "[WARNING] missing shaping for '%s'\n", toString(value).c_str());