From 4eb8889cfdec6ea3ea8e430b8939a4f3d8918623 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 8 Oct 2023 17:47:15 +0100 Subject: Fix the trivial clang-tidy warnings --- libpqpp/pq-prepared.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libpqpp/pq-prepared.h') 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 #include 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; -- cgit v1.2.3