code review updates: sprite_atlas brackets and nullable removed for reuseIdentifier of annotationImage

This commit is contained in:
Romain Quidet
2015-12-15 11:56:03 +01:00
committed by Minh Nguyễn
parent af45d87e54
commit b8be1f0632
3 changed files with 5 additions and 8 deletions

View File

@@ -187,12 +187,9 @@ void SpriteAtlas::updateDirty() {
// The two names match;
Holder& holder = imageIterator->second;
holder.texture = spriteIterator->second;
if (holder.texture != nullptr)
{
if (holder.texture != nullptr) {
copy(holder, imageIterator->first.second);
}
else
{
} else {
images.erase(imageIterator);
}