diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 05:01:53 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-29 06:00:07 +0000 |
commit | f71898826b957548fe703bba1e2f3864dc56c0f8 (patch) | |
tree | 9a886af50e1f706a0514fbbab05084a7734ab5c7 /libmysqlpp/my-column.h | |
parent | Non-const insertId (diff) | |
download | libdbpp-mysql-f71898826b957548fe703bba1e2f3864dc56c0f8.tar.bz2 libdbpp-mysql-f71898826b957548fe703bba1e2f3864dc56c0f8.tar.xz libdbpp-mysql-f71898826b957548fe703bba1e2f3864dc56c0f8.zip |
Add missing override attribute
Diffstat (limited to 'libmysqlpp/my-column.h')
-rw-r--r-- | libmysqlpp/my-column.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libmysqlpp/my-column.h b/libmysqlpp/my-column.h index 657b094..088b768 100644 --- a/libmysqlpp/my-column.h +++ b/libmysqlpp/my-column.h @@ -10,7 +10,7 @@ namespace MySQL { public: ColumnBase(const char * name, unsigned int field); - bool isNull() const; + bool isNull() const override; protected: my_bool is_null; @@ -21,19 +21,19 @@ namespace MySQL { public: StringColumn(const char * name, unsigned int field, MYSQL_BIND * b, unsigned int len); ~StringColumn(); - void apply(DB::HandleField &) const; + void apply(DB::HandleField &) const override; char * value; long unsigned int length; }; class NullColumn : public ColumnBase { public: NullColumn(const char * name, unsigned int field, MYSQL_BIND * b); - void apply(DB::HandleField &) const; + void apply(DB::HandleField &) const override; }; template <class T, enum_field_types MT> class Column : public ColumnBase { public: Column(const char * name, unsigned int field, MYSQL_BIND * b); - void apply(DB::HandleField & h) const; + void apply(DB::HandleField & h) const override; T value; }; } |