summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmysqlpp/my-connection.cpp4
-rw-r--r--libmysqlpp/my-connection.h4
2 files changed, 4 insertions, 4 deletions
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;