Kaydet (Commit) fdfcb1c8 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix loop to actually get executed

Change-Id: I736868fbaa0783a2ed8be04c99f440f1cb964048
üst e6aaf64c
......@@ -877,11 +877,9 @@ JNI_info::JNI_info(
void JNI_info::destruct( JNIEnv * jni_env )
{
t_str2type::const_iterator iPos( m_type_map.begin() );
t_str2type::const_iterator const iEnd( m_type_map.begin() );
for ( ; iPos != iEnd; ++iPos )
for (auto & i: m_type_map)
{
iPos->second.m_info->destroy( jni_env );
i.second.m_info->destroy( jni_env );
}
if (nullptr != m_XInterface_type_info)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment