cosmetics
This commit is contained in:
parent
85c6d3e8b7
commit
602b5af307
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue