]> granicus.if.org Git - pdns/commitdiff
godbcbackend: Add missing overrides to SODBC
authorAki Tuomi <cmouse@cmouse.fi>
Tue, 24 Apr 2018 16:25:52 +0000 (19:25 +0300)
committerAki Tuomi <cmouse@cmouse.fi>
Tue, 24 Apr 2018 16:25:52 +0000 (19:25 +0300)
Found by Travis

modules/godbcbackend/sodbc.hh

index 947d6e1cde0651239693c4fd5c367eae278eadf8..b8c369d68490274b7e5ff98458c8662af343ae03 100644 (file)
@@ -63,16 +63,16 @@ public:
   virtual ~SODBC( void );
 
   //! Sets the logging state.
-  void setLog( bool state );
+  void setLog( bool state ) override;
 
-  std::unique_ptr<SSqlStatement> prepare(const string& query, int nparams);
-  void execute(const string& query);
+  std::unique_ptr<SSqlStatement> prepare(const string& query, int nparams) override;
+  void execute(const string& query) override;
   void startTransaction() override;
   void rollback() override;
   void commit() override;
 
   //! Returns an exception.
-  SSqlException sPerrorException( const std::string & reason );
+  SSqlException sPerrorException( const std::string & reason ) override;
 
 };