add assert

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@315 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2005-10-20 16:07:00 +00:00
parent c640203744
commit cdb722ec38

View file

@ -336,6 +336,8 @@ namespace Loki
std::swap(next_, rhs.next_);
std::swap(prev_->next_, rhs.prev_->next_);
std::swap(next_->prev_, rhs.next_->prev_);
assert( next_ == this ? prev_ == this : prev_ != this);
}
enum { destructiveCopy = false };