sql_list.h:
One more missed fix from Windows sql/sql_list.h: One more missed fix from Windows
This commit is contained in:
parent
25a38bb96f
commit
1fac9fecf7
@ -82,6 +82,7 @@ public:
|
|||||||
first=tmp.first;
|
first=tmp.first;
|
||||||
last=tmp.last;
|
last=tmp.last;
|
||||||
}
|
}
|
||||||
|
inline base_list(bool error) { }
|
||||||
inline bool push_back(void *info)
|
inline bool push_back(void *info)
|
||||||
{
|
{
|
||||||
if (((*last)=new list_node(info, &end_of_list)))
|
if (((*last)=new list_node(info, &end_of_list)))
|
||||||
@ -130,6 +131,7 @@ public:
|
|||||||
inline list_node *last_ref() { return &end_of_list; }
|
inline list_node *last_ref() { return &end_of_list; }
|
||||||
friend class base_list_iterator;
|
friend class base_list_iterator;
|
||||||
friend class error_list;
|
friend class error_list;
|
||||||
|
friend class error_list_iterator;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void after(void *info,list_node *node)
|
void after(void *info,list_node *node)
|
||||||
@ -405,7 +407,7 @@ class error_list: public Error_alloc, public base_list
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
inline error_list() : base_list() { };
|
inline error_list() : base_list() { };
|
||||||
inline error_list(const error_list &tmp) : Error_alloc()
|
inline error_list(const error_list &tmp) : base_list(tmp)
|
||||||
{
|
{
|
||||||
elements=tmp.elements;
|
elements=tmp.elements;
|
||||||
first=tmp.first;
|
first=tmp.first;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user