From d3d11a0dcbec32b8cfd6c7beaf7c1beb50775ee3 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 17 Oct 2015 22:10:14 +0100 Subject: Add override attributes --- libmysqlpp/connection.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'libmysqlpp/connection.h') diff --git a/libmysqlpp/connection.h b/libmysqlpp/connection.h index 69377a4..a1ea6ae 100644 --- a/libmysqlpp/connection.h +++ b/libmysqlpp/connection.h @@ -13,21 +13,21 @@ namespace MySQL { Connection(const std::string & info); ~Connection(); - void finish() const; - int beginTx() const; - int commitTx() const; - int rollbackTx() const; - bool inTx() const; - void ping() const; - DB::BulkDeleteStyle bulkDeleteStyle() const; - DB::BulkUpdateStyle bulkUpdateStyle() const; - - DB::SelectCommand * newSelectCommand(const std::string & sql) const; - DB::ModifyCommand * newModifyCommand(const std::string & sql) const; - - void beginBulkUpload(const char *, const char *) const; - void endBulkUpload(const char *) const; - size_t bulkUploadData(const char *, size_t) const; + void finish() const override; + int beginTx() const override; + int commitTx() const override; + int rollbackTx() const override; + bool inTx() const override; + void ping() const override; + DB::BulkDeleteStyle bulkDeleteStyle() const override; + DB::BulkUpdateStyle bulkUpdateStyle() const override; + + DB::SelectCommand * newSelectCommand(const std::string & sql) const override; + DB::ModifyCommand * newModifyCommand(const std::string & sql) const override; + + void beginBulkUpload(const char *, const char *) const override; + void endBulkUpload(const char *) const override; + size_t bulkUploadData(const char *, size_t) const override; mutable MYSQL conn; -- cgit v1.2.3