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:
rich_sposato 2010-09-16 17:26:29 +00:00
parent ac54d187bc
commit 9c85634334

View file

@ -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;