From 19b4b2cbdf1b4c500e1d33c510ccfe4cc6bc8744 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 8 Oct 2023 16:46:08 +0100 Subject: Fix virtual/override attribute use --- libpqpp/pq-cursorselectcommand.h | 2 +- libpqpp/pq-prepared.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libpqpp/pq-cursorselectcommand.h b/libpqpp/pq-cursorselectcommand.h index 681659c..2b3418b 100644 --- a/libpqpp/pq-cursorselectcommand.h +++ b/libpqpp/pq-cursorselectcommand.h @@ -13,7 +13,7 @@ namespace PQ { public: CursorSelectCommand( Connection *, const std::string & sql, const PQ::CommandOptionsCPtr &, const DB::CommandOptionsCPtr &); - virtual ~CursorSelectCommand(); + ~CursorSelectCommand() override; bool fetch() override; void execute() override; diff --git a/libpqpp/pq-prepared.h b/libpqpp/pq-prepared.h index db520fa..ddddf01 100644 --- a/libpqpp/pq-prepared.h +++ b/libpqpp/pq-prepared.h @@ -11,7 +11,7 @@ namespace PQ { class PreparedStatement : public Command { protected: PreparedStatement(Connection *, const std::string &, const DB::CommandOptionsCPtr &); - virtual ~PreparedStatement() = default; + ~PreparedStatement() override = default; const char * prepare() const; mutable const char * pstmt; -- cgit v1.2.3