diff options
author | David Jones <david@gogledd.cymru> | 2015-08-25 21:23:05 +0100 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2015-08-25 18:33:52 -0400 |
commit | 34b7a147dcf9831f3b4d81599c473ba01ff5da00 (patch) | |
tree | e7a95bf333d782ebde897b25070c5d997174e2f5 /src/client | |
parent | 2480f2d06fe50295184a60d6659378f9a5d57065 (diff) | |
download | minetest-34b7a147dcf9831f3b4d81599c473ba01ff5da00.tar.gz minetest-34b7a147dcf9831f3b4d81599c473ba01ff5da00.tar.bz2 minetest-34b7a147dcf9831f3b4d81599c473ba01ff5da00.zip |
Change i++ to ++i
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/tile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/tile.cpp b/src/client/tile.cpp index 1f1e9d38c..f918dee29 100644 --- a/src/client/tile.cpp +++ b/src/client/tile.cpp @@ -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 |