aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Kortstiege <mkortstiege@users.noreply.github.com>2015-01-17 10:22:33 +0100
committerMatthias Kortstiege <mkortstiege@users.noreply.github.com>2015-01-17 10:22:33 +0100
commit9c5ba91dda8b7675330305d04fbdedc08040b49b (patch)
treefa6135e3c75ef0237972cab3f9ba4eef97bf6d47
parentddfb40e07c1845fff0fb942dfebe0d132182bb00 (diff)
parent72b9f13c834cb53c390662e5c403937ad792c27a (diff)
Merge pull request #6190 from tobbi/cppcheck_perf_test
cppcheck performance fixes in test/
-rw-r--r--xbmc/test/TestUtils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xbmc/test/TestUtils.cpp b/xbmc/test/TestUtils.cpp
index fac3d84336..ea2b0132c4 100644
--- a/xbmc/test/TestUtils.cpp
+++ b/xbmc/test/TestUtils.cpp
@@ -290,7 +290,7 @@ void CXBMCTestUtils::ParseArgs(int argc, char **argv)
arg = argv[++i];
std::vector<std::string> urls = StringUtils::Split(arg, ",");
std::vector<std::string>::iterator it;
- for (it = urls.begin(); it < urls.end(); it++)
+ for (it = urls.begin(); it < urls.end(); ++it)
TestFileFactoryReadUrls.push_back(*it);
}
else if (arg == "--add-testfilefactory-writeurl")
@@ -302,7 +302,7 @@ void CXBMCTestUtils::ParseArgs(int argc, char **argv)
arg = argv[++i];
std::vector<std::string> urls = StringUtils::Split(arg, ",");
std::vector<std::string>::iterator it;
- for (it = urls.begin(); it < urls.end(); it++)
+ for (it = urls.begin(); it < urls.end(); ++it)
TestFileFactoryWriteUrls.push_back(*it);
}
else if (arg == "--set-testfilefactory-writeinputfile")
@@ -318,7 +318,7 @@ void CXBMCTestUtils::ParseArgs(int argc, char **argv)
arg = argv[++i];
std::vector<std::string> urls = StringUtils::Split(arg, ",");
std::vector<std::string>::iterator it;
- for (it = urls.begin(); it < urls.end(); it++)
+ for (it = urls.begin(); it < urls.end(); ++it)
AdvancedSettingsFiles.push_back(*it);
}
else if (arg == "--add-guisettings-file")
@@ -330,7 +330,7 @@ void CXBMCTestUtils::ParseArgs(int argc, char **argv)
arg = argv[++i];
std::vector<std::string> urls = StringUtils::Split(arg, ",");
std::vector<std::string>::iterator it;
- for (it = urls.begin(); it < urls.end(); it++)
+ for (it = urls.begin(); it < urls.end(); ++it)
GUISettingsFiles.push_back(*it);
}
else if (arg == "--set-probability")