diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-02-10 19:11:56 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-02-10 19:11:56 -0600 |
commit | 797e41438176de465272bef182e035cd0fe5884a (patch) | |
tree | 3af4825ad5b2c3bd579305d025c35d6a3b96c9a1 /apps/examples/cxxtest | |
parent | 6db1f6f71c8867cbae3a2c5597b01f321064a370 (diff) | |
download | nuttx-797e41438176de465272bef182e035cd0fe5884a.tar.gz nuttx-797e41438176de465272bef182e035cd0fe5884a.tar.bz2 nuttx-797e41438176de465272bef182e035cd0fe5884a.zip |
More changes to reduce complaints from CppCheck. Some latent bugs fixes, but probably some new typos introduced
Diffstat (limited to 'apps/examples/cxxtest')
-rw-r--r-- | apps/examples/cxxtest/cxxtest_main.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/cxxtest/cxxtest_main.cxx b/apps/examples/cxxtest/cxxtest_main.cxx index 5feeaf5c8..8c75e0fb8 100644 --- a/apps/examples/cxxtest/cxxtest_main.cxx +++ b/apps/examples/cxxtest/cxxtest_main.cxx @@ -173,7 +173,7 @@ static void test_stl(void) string words[4] = {"Hello", "World", "Good", "Luck"}; vector<string> v3(words, words + 4); vector<string>::iterator it; - for (it = v3.begin(); it != v3.end(); it++) + for (it = v3.begin(); it != v3.end(); ++it) { std::cout << *it << ' '; } |