diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-10-08 17:47:15 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-10-08 17:47:15 +0100 |
commit | 4eb8889cfdec6ea3ea8e430b8939a4f3d8918623 (patch) | |
tree | 5aacf15e72a481ef7c3bdfece5dab383952c9489 /libpqpp/pq-prepared.h | |
parent | Simplify checkResult (diff) | |
download | libdbpp-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.h | 6 |
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; |