From 1533d2a13778b7bd6a329a6294d1aae30de61288 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 20 Oct 2015 00:30:53 +0100 Subject: Add override attributes --- libsqlitepp/connection.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/libsqlitepp/connection.h b/libsqlitepp/connection.h index 6fd6aa3..95c1aac 100644 --- a/libsqlitepp/connection.h +++ b/libsqlitepp/connection.h @@ -11,21 +11,21 @@ namespace SQLite { 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; sqlite3 * db; -- cgit v1.2.3