don't change the value of the hash element if insert() didn't add it (closes #10261)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5953e7c7d6
commit
90dea0376a
@ -671,8 +671,6 @@ public: \
|
||||
Node *node = GetOrCreateNode( \
|
||||
CLASSNAME##_wxImplementation_Pair( v.first, v.second ), \
|
||||
created); \
|
||||
if ( !created ) \
|
||||
node->m_value.second = v.second; \
|
||||
return Insert_Result(iterator(node, this), created); \
|
||||
} \
|
||||
\
|
||||
|
Loading…
Reference in New Issue
Block a user