Commit 87d7551b authored by unknown's avatar unknown

Add a comment about I_List<> copy constructor.


sql/sql_list.h:
  Add a comment.
parent 2441a922
......@@ -426,9 +426,14 @@ struct ilink
template <class T> class I_List_iterator;
/*
WARNING: copy constructor of this class does not create a usable
copy, as its members may point at each other.
*/
class base_ilist
{
public:
public:
struct ilink *first,last;
inline void empty() { first= &last; last.prev= &first; }
base_ilist() { empty(); }
......
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