diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-11-08 01:58:49 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-11-08 01:58:49 +0000 |
commit | 329602e2ffcba8d6f3b15e23d553583e009bd864 (patch) | |
tree | d78c9ad24106223bf9259e1729db25eb5f1fbc58 | |
parent | Add utility function for passing each row of a result set to a function accep... (diff) | |
download | libdbpp-329602e2ffcba8d6f3b15e23d553583e009bd864.tar.bz2 libdbpp-329602e2ffcba8d6f3b15e23d553583e009bd864.tar.xz libdbpp-329602e2ffcba8d6f3b15e23d553583e009bd864.zip |
Use typedef pointer
-rw-r--r-- | libdbpp/connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbpp/connection.cpp b/libdbpp/connection.cpp index 048b3b5..d766dc4 100644 --- a/libdbpp/connection.cpp +++ b/libdbpp/connection.cpp @@ -12,7 +12,7 @@ DB::Connection::~Connection() void DB::Connection::execute(const std::string & sql) const { - auto cmd = boost::shared_ptr<ModifyCommand>(newModifyCommand(sql)); + auto cmd = ModifyCommandPtr(newModifyCommand(sql)); cmd->execute(true); } |