summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-03 21:56:42 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-04 17:01:02 +0000
commite6ed2ba20509558ca688618e77055fab93426f10 (patch)
treebd16c7235138a78570bb8f199ab7873eaf5aafc7
parentSwitch to string_view (diff)
downloadlibdbpp-postgresql-e6ed2ba20509558ca688618e77055fab93426f10.tar.bz2
libdbpp-postgresql-e6ed2ba20509558ca688618e77055fab93426f10.tar.xz
libdbpp-postgresql-e6ed2ba20509558ca688618e77055fab93426f10.zip
Explicit desctructor not required
-rw-r--r--libpqpp/pq-modifycommand.cpp4
-rw-r--r--libpqpp/pq-modifycommand.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/libpqpp/pq-modifycommand.cpp b/libpqpp/pq-modifycommand.cpp
index c82b3c6..bb21bc7 100644
--- a/libpqpp/pq-modifycommand.cpp
+++ b/libpqpp/pq-modifycommand.cpp
@@ -10,10 +10,6 @@ PQ::ModifyCommand::ModifyCommand(Connection * conn, const std::string & sql, con
{
}
-PQ::ModifyCommand::~ModifyCommand()
-{
-}
-
unsigned int
PQ::ModifyCommand::execute(bool anc)
{
diff --git a/libpqpp/pq-modifycommand.h b/libpqpp/pq-modifycommand.h
index 425e5f2..0aac386 100644
--- a/libpqpp/pq-modifycommand.h
+++ b/libpqpp/pq-modifycommand.h
@@ -9,7 +9,6 @@ namespace PQ {
class ModifyCommand : public DB::ModifyCommand, public PreparedStatement {
public:
ModifyCommand(Connection *, const std::string & sql, const DB::CommandOptionsCPtr &);
- virtual ~ModifyCommand();
unsigned int execute(bool) override;
};