summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmysqlpp/my-command.h2
-rw-r--r--libmysqlpp/my-connection.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/libmysqlpp/my-command.h b/libmysqlpp/my-command.h
index 53f37c5..9b6d72a 100644
--- a/libmysqlpp/my-command.h
+++ b/libmysqlpp/my-command.h
@@ -10,7 +10,7 @@ namespace MySQL {
class Command : public virtual DB::Command {
public:
Command(const Connection *, const std::string & sql);
- virtual ~Command() = 0;
+ virtual ~Command() override = 0;
void bindParamI(unsigned int, int) override;
void bindParamI(unsigned int, long int) override;
diff --git a/libmysqlpp/my-connection.h b/libmysqlpp/my-connection.h
index 073acda..184dafe 100644
--- a/libmysqlpp/my-connection.h
+++ b/libmysqlpp/my-connection.h
@@ -9,15 +9,15 @@
namespace MySQL {
class ConnectionError : public virtual Error, public virtual DB::ConnectionError {
public:
- ConnectionError(MYSQL *);
+ explicit ConnectionError(MYSQL *);
};
class LoadContext;
class Connection : public DB::Connection {
public:
- Connection(const std::string & info);
- ~Connection();
+ explicit Connection(const std::string & info);
+ ~Connection() override;
void beginTxInt() override;
void commitTxInt() override;