Use postfix operator when iterating over containers
No real changes, just avoid a micro-pessimization. See https://github.com/wxWidgets/wxWidgets/pull/652
This commit is contained in:
@@ -102,7 +102,7 @@ public:
|
||||
return it->second;
|
||||
|
||||
// Finally, attempt to find a compatible type
|
||||
for ( it = anyToVariant.begin(); it != anyToVariant.end(); it++ )
|
||||
for ( it = anyToVariant.begin(); it != anyToVariant.end(); ++it )
|
||||
{
|
||||
if ( type->IsSameType(it->first) )
|
||||
{
|
||||
|
Reference in New Issue
Block a user