remove hasData() from Bucket interface

This commit is contained in:
Konstantin Käfer
2015-04-22 18:07:27 +02:00
parent c891df0b5f
commit 839b19330e
11 changed files with 6 additions and 22 deletions

View File

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