item_proxy bug fix: postfix increment operator
The behavior of the postfix increment operator is not consistent with the increment operator concept (currently just returns the next sibling node).
This commit is contained in:
parent
e626f816b3
commit
59d3a68485
@ -1274,7 +1274,10 @@ namespace nana
|
|||||||
|
|
||||||
item_proxy item_proxy::operator++(int)
|
item_proxy item_proxy::operator++(int)
|
||||||
{
|
{
|
||||||
return sibling();
|
item_proxy ip(*this);
|
||||||
|
if(trigger_ && node_)
|
||||||
|
node_ = node_->next;
|
||||||
|
return ip;
|
||||||
}
|
}
|
||||||
|
|
||||||
item_proxy& item_proxy::operator*()
|
item_proxy& item_proxy::operator*()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user