summaryrefslogtreecommitdiff
path: root/libpqpp/pq-prepared.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-10-08 17:47:15 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-10-08 17:47:15 +0100
commit4eb8889cfdec6ea3ea8e430b8939a4f3d8918623 (patch)
tree5aacf15e72a481ef7c3bdfece5dab383952c9489 /libpqpp/pq-prepared.h
parentSimplify checkResult (diff)
downloadlibdbpp-postgresql-4eb8889cfdec6ea3ea8e430b8939a4f3d8918623.tar.bz2
libdbpp-postgresql-4eb8889cfdec6ea3ea8e430b8939a4f3d8918623.tar.xz
libdbpp-postgresql-4eb8889cfdec6ea3ea8e430b8939a4f3d8918623.zip
Fix the trivial clang-tidy warnings
Diffstat (limited to 'libpqpp/pq-prepared.h')
-rw-r--r--libpqpp/pq-prepared.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libpqpp/pq-prepared.h b/libpqpp/pq-prepared.h
index ddddf01..4da04ea 100644
--- a/libpqpp/pq-prepared.h
+++ b/libpqpp/pq-prepared.h
@@ -3,15 +3,19 @@
#include "command_fwd.h"
#include "pq-command.h"
+#include <c++11Helpers.h>
#include <string>
namespace PQ {
class Connection;
class PreparedStatement : public Command {
+ public:
+ ~PreparedStatement() override = default;
+ SPECIAL_MEMBERS_DELETE(PreparedStatement);
+
protected:
PreparedStatement(Connection *, const std::string &, const DB::CommandOptionsCPtr &);
- ~PreparedStatement() override = default;
const char * prepare() const;
mutable const char * pstmt;