From 329602e2ffcba8d6f3b15e23d553583e009bd864 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 8 Nov 2015 01:58:49 +0000 Subject: Use typedef pointer --- libdbpp/connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(newModifyCommand(sql)); + auto cmd = ModifyCommandPtr(newModifyCommand(sql)); cmd->execute(true); } -- cgit v1.2.3