Commit 2a8c4ccf authored by Marko Mäkelä's avatar Marko Mäkelä

Fix g++-14 -Wtemplate-id-cdtor

parent 83a87da4
...@@ -35,8 +35,8 @@ class Create_func_trt : public Create_native_func ...@@ -35,8 +35,8 @@ class Create_func_trt : public Create_native_func
static Create_func_trt<TRT_FIELD> s_singleton; static Create_func_trt<TRT_FIELD> s_singleton;
protected: protected:
Create_func_trt<TRT_FIELD>() = default; Create_func_trt() = default;
virtual ~Create_func_trt<TRT_FIELD>() = default; virtual ~Create_func_trt() = default;
}; };
template<TR_table::field_id_t TRT_FIELD> template<TR_table::field_id_t TRT_FIELD>
...@@ -131,8 +131,8 @@ class Create_func_trt_trx_sees : public Create_native_func ...@@ -131,8 +131,8 @@ class Create_func_trt_trx_sees : public Create_native_func
static Create_func_trt_trx_sees<Item_func_trt_trx_seesX> s_singleton; static Create_func_trt_trx_sees<Item_func_trt_trx_seesX> s_singleton;
protected: protected:
Create_func_trt_trx_sees<Item_func_trt_trx_seesX>() = default; Create_func_trt_trx_sees() = default;
virtual ~Create_func_trt_trx_sees<Item_func_trt_trx_seesX>() = default; virtual ~Create_func_trt_trx_sees() = default;
}; };
template<class X> template<class X>
......
...@@ -3301,13 +3301,11 @@ template <template<class> class LI, typename T> class Item_equal_iterator ...@@ -3301,13 +3301,11 @@ template <template<class> class LI, typename T> class Item_equal_iterator
{ {
protected: protected:
Item_equal *item_equal; Item_equal *item_equal;
Item *curr_item; Item *curr_item= nullptr;
public: public:
Item_equal_iterator<LI,T>(Item_equal &item_eq) Item_equal_iterator(Item_equal &item_eq)
:LI<T> (item_eq.equal_items) :LI<T> (item_eq.equal_items), item_equal(&item_eq)
{ {
curr_item= NULL;
item_equal= &item_eq;
if (item_eq.with_const) if (item_eq.with_const)
{ {
LI<T> *list_it= this; LI<T> *list_it= this;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment