Kaydet (Commit) c6d64578 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Also fix other Ring ctor

...after 8b12e63b "Don't downcast from Ring<T>
base class ctor/dtor to derived class T"

Change-Id: I734841a78e272e985d784bd756412e1af90b2df5
üst da1c96d4
...@@ -127,8 +127,7 @@ namespace sw ...@@ -127,8 +127,7 @@ namespace sw
{ {
if( pObj ) if( pObj )
{ {
value_type* pThis = static_cast< value_type* >(this); algo::link_before(pObj, this);
algo::link_before(pObj, pThis);
} }
} }
......
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