summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-column.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 05:01:53 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-29 06:00:07 +0000
commitf71898826b957548fe703bba1e2f3864dc56c0f8 (patch)
tree9a886af50e1f706a0514fbbab05084a7734ab5c7 /libmysqlpp/my-column.h
parentNon-const insertId (diff)
downloadlibdbpp-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.h8
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;
};
}