From 34b7a147dcf9831f3b4d81599c473ba01ff5da00 Mon Sep 17 00:00:00 2001 From: David Jones Date: Tue, 25 Aug 2015 21:23:05 +0100 Subject: Change i++ to ++i --- src/subgame.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/subgame.cpp') diff --git a/src/subgame.cpp b/src/subgame.cpp index f736a78c6..a3fdce15a 100644 --- a/src/subgame.cpp +++ b/src/subgame.cpp @@ -163,7 +163,7 @@ std::set getAvailableGameIds() } for(std::set::const_iterator i = gamespaths.begin(); - i != gamespaths.end(); i++){ + i != gamespaths.end(); ++i){ std::vector dirlist = fs::GetDirListing(*i); for(u32 j=0; j getAvailableGames() std::vector specs; std::set gameids = getAvailableGameIds(); for(std::set::const_iterator i = gameids.begin(); - i != gameids.end(); i++) + i != gameids.end(); ++i) specs.push_back(findSubgame(*i)); return specs; } @@ -230,7 +230,7 @@ std::vector getAvailableWorlds() worldspaths.insert(porting::path_user + DIR_DELIM + "worlds"); infostream<<"Searching worlds..."<::const_iterator i = worldspaths.begin(); - i != worldspaths.end(); i++){ + i != worldspaths.end(); ++i){ infostream<<" In "<<(*i)<<": "< dirvector = fs::GetDirListing(*i); for(u32 j=0; j