Commit 245a2ca2 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Initialize the members of List<T>

parent 98bde3dd
...@@ -64,6 +64,7 @@ class List: public Managed ...@@ -64,6 +64,7 @@ class List: public Managed
public: public:
List() List()
: value(_Tp()), next(0)
{ } { }
_Tp value; _Tp value;
......
Supports Markdown
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