From: Aki Tuomi Date: Tue, 24 Apr 2018 16:25:52 +0000 (+0300) Subject: godbcbackend: Add missing overrides to SODBC X-Git-Tag: dnsdist-1.3.1~132^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1be1e84ebfcb90a2940e471cb5db58e833f1e6ab;p=thirdparty%2Fpdns.git godbcbackend: Add missing overrides to SODBC Found by Travis --- diff --git a/modules/godbcbackend/sodbc.hh b/modules/godbcbackend/sodbc.hh index 947d6e1cde..b8c369d684 100644 --- a/modules/godbcbackend/sodbc.hh +++ b/modules/godbcbackend/sodbc.hh @@ -63,16 +63,16 @@ public: virtual ~SODBC( void ); //! Sets the logging state. - void setLog( bool state ); + void setLog( bool state ) override; - std::unique_ptr prepare(const string& query, int nparams); - void execute(const string& query); + std::unique_ptr 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; };