summaryrefslogtreecommitdiff
path: root/libpqpp
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp')
-rw-r--r--libpqpp/pq-cursorselectcommand.h2
-rw-r--r--libpqpp/pq-prepared.h2
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;