Kaydet (Commit) 1b53effc authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

cid#1256669: uninit ptr field

Change-Id: I6e3c5ac5281052b49c734b152ad4cd83021c6de9
üst 917d505b
...@@ -80,6 +80,7 @@ namespace sw ...@@ -80,6 +80,7 @@ namespace sw
* are alone in one. * are alone in one.
*/ */
Ring() Ring()
: pPrev(static_cast< T* >(this))
{ algo::init_header(static_cast< T* >(this)); } { algo::init_header(static_cast< T* >(this)); }
/** /**
* Creates a new item and add it to an existing ring container. * Creates a new item and add it to an existing ring container.
......
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