[core] fix pedantic warning messages

This commit is contained in:
Konstantin Käfer
2016-06-03 18:05:04 +02:00
parent 9b6c2e6940
commit 2bdecdf9f9
41 changed files with 196 additions and 288 deletions

View File

@@ -37,7 +37,7 @@ void TileCache::add(const OverscaledTileID& key, std::unique_ptr<TileData> data)
}
assert(orderedKeys.size() <= size);
};
}
std::unique_ptr<TileData> TileCache::get(const OverscaledTileID& key) {
@@ -52,7 +52,7 @@ std::unique_ptr<TileData> TileCache::get(const OverscaledTileID& key) {
}
return data;
};
}
bool TileCache::has(const OverscaledTileID& key) {
return tiles.find(key) != tiles.end();