cosmetics

This commit is contained in:
XhmikosR 2012-09-26 17:10:28 +03:00 committed by Daniel Marjamäki
parent 85c6d3e8b7
commit 602b5af307
3 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@
# #
# compile new democlient: # compile new democlient:
# ssh -t danielmarjamaki,cppcheck@shell.sourceforge.net # ssh -t danielmarjamaki,cppcheck@shell.sourceforge.net
# ./build.sh 1.23 # ./build.sh 1.43
# Tag to use # Tag to use
tag=$1 tag=$1

View File

@ -6,7 +6,7 @@ int main()
items.push_back(2); items.push_back(2);
items.push_back(3); items.push_back(3);
std::vector<int>::iterator iter; std::vector<int>::iterator iter;
for (iter=items.begin() ; iter!=items.end() ; ++iter) { for (iter = items.begin(); iter != items.end(); ++iter) {
if (true) { if (true) {
items.erase(iter); items.erase(iter);
} }

View File

@ -6,7 +6,7 @@ int main()
items.push_back(2); items.push_back(2);
items.push_back(3); items.push_back(3);
std::vector<int>::iterator iter; std::vector<int>::iterator iter;
for (iter=items.begin(); iter!= items.end();) { for (iter = items.begin(); iter != items.end();) {
if (true) { if (true) {
iter = items.erase(iter); iter = items.erase(iter);
} else { } else {