don't auto-resize & fill cache with zeros

This commit is contained in:
Justin R. Miller
2015-04-16 12:14:35 -07:00
parent dc1b2efe7b
commit 14e972ad97

View File

@@ -16,7 +16,6 @@ void TileCache::setSize(size_t size_) {
assert(orderedKeys.size() <= size);
tiles.reserve(size);
orderedKeys.resize(size);
}
void TileCache::add(uint64_t key, std::shared_ptr<TileData> data) {