Skip to content

Commit

Permalink
Fixed: Compilation with Qt 4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Dec 9, 2012
1 parent a782440 commit 94dca7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/engine/src/resource/textures.cpp
Expand Up @@ -534,7 +534,9 @@ static QList<TextureManifest *> collectTextureManifests(Textures::Scheme *scheme
QList<TextureManifest*> result;
if(count == 0) return result;

#ifdef DENG2_QT_4_7_OR_NEWER
result.reserve(count);
#endif
return collectTextureManifests(scheme, path, &result);
}

Expand Down

0 comments on commit 94dca7c

Please sign in to comment.