mirror of
https://github.com/boostorg/unordered.git
synced 2025-05-11 13:34:06 +00:00
Fix a clumsy error.
[SVN r45261]
This commit is contained in:
parent
814653754f
commit
cdbb3f39e0
@ -161,7 +161,7 @@ namespace test
|
||||
|
||||
void push_front(value_type const& v) {
|
||||
data_.first_ = new node(v, data_.first_);
|
||||
if(data_.size_) data_.last_ptr_ = &(*data_.last_ptr_)->next_;
|
||||
if(!data_.size_) data_.last_ptr_ = &(*data_.last_ptr_)->next_;
|
||||
++data_.size_;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user