mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-33746 Supply missing override markings
Find and fix missing virtual override markings. Updates cmake maintainer flags to include -Wsuggest-override and -Winconsistent-missing-override.
This commit is contained in:
committed by
Dave Gosselin
parent
ab448d4b34
commit
db0c28eff8
@@ -30,14 +30,14 @@ template <TR_table::field_id_t TRT_FIELD>
|
||||
class Create_func_trt : public Create_native_func
|
||||
{
|
||||
public:
|
||||
virtual Item *create_native(THD *thd, const LEX_CSTRING *name,
|
||||
List<Item> *item_list);
|
||||
Item *create_native(THD *thd, const LEX_CSTRING *name,
|
||||
List<Item> *item_list) override;
|
||||
|
||||
static Create_func_trt<TRT_FIELD> s_singleton;
|
||||
|
||||
protected:
|
||||
Create_func_trt() = default;
|
||||
virtual ~Create_func_trt() = default;
|
||||
~Create_func_trt() override = default;
|
||||
};
|
||||
|
||||
template<TR_table::field_id_t TRT_FIELD>
|
||||
@@ -104,8 +104,8 @@ template <class Item_func_trt_trx_seesX>
|
||||
class Create_func_trt_trx_sees : public Create_native_func
|
||||
{
|
||||
public:
|
||||
virtual Item *create_native(THD *thd, const LEX_CSTRING *name,
|
||||
List<Item> *item_list)
|
||||
Item *create_native(THD *thd, const LEX_CSTRING *name,
|
||||
List<Item> *item_list) override
|
||||
{
|
||||
Item *func= NULL;
|
||||
int arg_count= 0;
|
||||
@@ -133,7 +133,7 @@ public:
|
||||
|
||||
protected:
|
||||
Create_func_trt_trx_sees() = default;
|
||||
virtual ~Create_func_trt_trx_sees() = default;
|
||||
~Create_func_trt_trx_sees() override = default;
|
||||
};
|
||||
|
||||
template<class X>
|
||||
|
Reference in New Issue
Block a user