diff options
-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); } |