diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-09 16:24:03 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-09 16:24:03 +0100 |
commit | c6d645780e96613a6f60b6896702335a0c205944 (patch) | |
tree | b555919ca09406af07efc21c7906693046589cc2 /sw/inc/ring.hxx | |
parent | da1c96d4cd98876cde8a0ab3ddf3d387646a0ba7 (diff) |
Also fix other Ring ctor
...after 8b12e63b60530a2ad3769bc4983cc09bedd34c79 "Don't downcast from Ring<T>
base class ctor/dtor to derived class T"
Change-Id: I734841a78e272e985d784bd756412e1af90b2df5
Diffstat (limited to 'sw/inc/ring.hxx')
-rw-r--r-- | sw/inc/ring.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/inc/ring.hxx b/sw/inc/ring.hxx index bfc9318ee9df..8083e959f0e9 100644 --- a/sw/inc/ring.hxx +++ b/sw/inc/ring.hxx @@ -127,8 +127,7 @@ namespace sw { if( pObj ) { - value_type* pThis = static_cast< value_type* >(this); - algo::link_before(pObj, pThis); + algo::link_before(pObj, this); } } |