Used initialization instead of assignment within constructor.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1076 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
ac54d187bc
commit
9c85634334
1 changed files with 10 additions and 10 deletions
|
@ -37,10 +37,10 @@ namespace Private
|
|||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
RefLinkedBase::RefLinkedBase(const RefLinkedBase& rhs)
|
||||
RefLinkedBase::RefLinkedBase( const RefLinkedBase & rhs ) :
|
||||
prev_( &rhs ),
|
||||
next_( rhs.next_ )
|
||||
{
|
||||
prev_ = &rhs;
|
||||
next_ = rhs.next_;
|
||||
prev_->next_ = this;
|
||||
next_->prev_ = this;
|
||||
|
||||
|
|
Loading…
Reference in a new issue