diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-10-08 16:46:08 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-10-08 16:46:08 +0100 |
commit | 19b4b2cbdf1b4c500e1d33c510ccfe4cc6bc8744 (patch) | |
tree | 3a785df9b064b14200ee00cfc747b8b60a8dac5a /libpqpp | |
parent | Make pq_deleter a generic helper (diff) | |
download | libdbpp-postgresql-19b4b2cbdf1b4c500e1d33c510ccfe4cc6bc8744.tar.bz2 libdbpp-postgresql-19b4b2cbdf1b4c500e1d33c510ccfe4cc6bc8744.tar.xz libdbpp-postgresql-19b4b2cbdf1b4c500e1d33c510ccfe4cc6bc8744.zip |
Fix virtual/override attribute use
Diffstat (limited to 'libpqpp')
-rw-r--r-- | libpqpp/pq-cursorselectcommand.h | 2 | ||||
-rw-r--r-- | 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; |