remove hasData() from Bucket interface
This commit is contained in:
@@ -60,9 +60,7 @@ Bucket* VectorTileData::getBucket(StyleLayer const& layer) {
|
||||
const auto it = buckets.find(layer.bucket->name);
|
||||
if (it != buckets.end()) {
|
||||
assert(it->second);
|
||||
if (it->second->hasData()) {
|
||||
return it->second.get();
|
||||
}
|
||||
return it->second.get();
|
||||
}
|
||||
}
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user