1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Change i++ to ++i

This commit is contained in:
David Jones 2015-08-25 21:23:05 +01:00 committed by ShadowNinja
parent 2480f2d06f
commit 34b7a147dc
41 changed files with 125 additions and 125 deletions

View file

@ -194,7 +194,7 @@ class SourceImageCache
public:
~SourceImageCache() {
for (std::map<std::string, video::IImage*>::iterator iter = m_images.begin();
iter != m_images.end(); iter++) {
iter != m_images.end(); ++iter) {
iter->second->drop();
}
m_images.clear();
@ -461,7 +461,7 @@ TextureSource::~TextureSource()
for (std::vector<TextureInfo>::iterator iter =
m_textureinfo_cache.begin();
iter != m_textureinfo_cache.end(); iter++)
iter != m_textureinfo_cache.end(); ++iter)
{
//cleanup texture
if (iter->texture)
@ -471,7 +471,7 @@ TextureSource::~TextureSource()
for (std::vector<video::ITexture*>::iterator iter =
m_texture_trash.begin(); iter != m_texture_trash.end();
iter++) {
++iter) {
video::ITexture *t = *iter;
//cleanup trashed texture