From cdeae65eeac5171f229976d26cd7f707f7151560 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 29 Dec 2015 04:28:57 +0000 Subject: Non-const command getters --- libmysqlpp/my-connection.cpp | 4 ++-- libmysqlpp/my-connection.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libmysqlpp') diff --git a/libmysqlpp/my-connection.cpp b/libmysqlpp/my-connection.cpp index 3afbe30..7f11a32 100644 --- a/libmysqlpp/my-connection.cpp +++ b/libmysqlpp/my-connection.cpp @@ -160,13 +160,13 @@ MySQL::Connection::ping() const DB::SelectCommand * -MySQL::Connection::newSelectCommand(const std::string & sql) const +MySQL::Connection::newSelectCommand(const std::string & sql) { return new SelectCommand(this, sql); } DB::ModifyCommand * -MySQL::Connection::newModifyCommand(const std::string & sql) const +MySQL::Connection::newModifyCommand(const std::string & sql) { return new ModifyCommand(this, sql); } diff --git a/libmysqlpp/my-connection.h b/libmysqlpp/my-connection.h index 44b4b7c..4bba394 100644 --- a/libmysqlpp/my-connection.h +++ b/libmysqlpp/my-connection.h @@ -28,8 +28,8 @@ namespace MySQL { 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; + DB::SelectCommand * newSelectCommand(const std::string & sql) override; + DB::ModifyCommand * newModifyCommand(const std::string & sql) override; void beginBulkUpload(const char *, const char *) override; void endBulkUpload(const char *) override; -- cgit v1.2.3