[core] Eliminate duplicate Necessity types

This commit is contained in:
John Firebaugh
2016-06-13 14:24:26 -07:00
parent 040bdb1994
commit 36bef21575
4 changed files with 12 additions and 16 deletions

View File

@@ -77,7 +77,7 @@ VectorTile::VectorTile(const OverscaledTileID& id_,
}
void VectorTile::setNecessity(Necessity necessity) {
loader.setNecessity(static_cast<TileLoader<VectorTile>::Necessity>(necessity));
loader.setNecessity(necessity);
}
void VectorTile::setData(std::shared_ptr<const std::string> data_,