Commit 81148397 authored by venu@myvenu.com's avatar venu@myvenu.com

sql_list.h:

  One more missed fix from Windows
parent 3e7b4b27
...@@ -82,6 +82,7 @@ public: ...@@ -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: ...@@ -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 ...@@ -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;
......
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