cosmetics
This commit is contained in:
parent
85c6d3e8b7
commit
602b5af307
|
@ -59,7 +59,7 @@
|
|||
#
|
||||
# compile new democlient:
|
||||
# ssh -t danielmarjamaki,cppcheck@shell.sourceforge.net
|
||||
# ./build.sh 1.23
|
||||
# ./build.sh 1.43
|
||||
|
||||
# Tag to use
|
||||
tag=$1
|
||||
|
|
|
@ -6,7 +6,7 @@ int main()
|
|||
items.push_back(2);
|
||||
items.push_back(3);
|
||||
std::vector<int>::iterator iter;
|
||||
for (iter=items.begin() ; iter!=items.end() ; ++iter) {
|
||||
for (iter = items.begin(); iter != items.end(); ++iter) {
|
||||
if (true) {
|
||||
items.erase(iter);
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ int main()
|
|||
items.push_back(2);
|
||||
items.push_back(3);
|
||||
std::vector<int>::iterator iter;
|
||||
for (iter=items.begin(); iter!= items.end();) {
|
||||
for (iter = items.begin(); iter != items.end();) {
|
||||
if (true) {
|
||||
iter = items.erase(iter);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue