summaryrefslogtreecommitdiff
path: root/libodbcpp/command.cpp
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2012-07-09 18:26:22 +0000
committerrandomdan <randomdan@localhost>2012-07-09 18:26:22 +0000
commitee7c2dda51d1db37ecc45a33c1bf50ae50437ae4 (patch)
tree277a063ebd26c514460248f4a3831bf58e149758 /libodbcpp/command.cpp
parentFix printf warnings on 64bit (diff)
downloadlibdbpp-odbc-ee7c2dda51d1db37ecc45a33c1bf50ae50437ae4.tar.bz2
libdbpp-odbc-ee7c2dda51d1db37ecc45a33c1bf50ae50437ae4.tar.xz
libdbpp-odbc-ee7c2dda51d1db37ecc45a33c1bf50ae50437ae4.zip
Fixes suggested by cppcheck
Diffstat (limited to 'libodbcpp/command.cpp')
-rw-r--r--libodbcpp/command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libodbcpp/command.cpp b/libodbcpp/command.cpp
index 0e100c0..801060f 100644
--- a/libodbcpp/command.cpp
+++ b/libodbcpp/command.cpp
@@ -31,7 +31,7 @@ ODBC::Command::Command(const Connection & c, const std::string & s) :
ODBC::Command::~Command()
{
- for (Params::iterator i = params.begin(); i != params.end(); i++) {
+ for (Params::iterator i = params.begin(); i != params.end(); ++i) {
if (*i) {
delete *i;
}