- type = (mc_type_t) xbt_dict_get_or_null(
- process->binary_info->types, var->type_id.c_str());
- xbt_assert(type->element_count == 6*5*4, "element_count mismatch in test_some_array : %i / %i", type->element_count, 6*5*4);
-
- var = test_global_variable(process, process->binary_info.get(),
+ auto i = process.binary_info->types.find(var->type_id);
+ xbt_assert(i != process.binary_info->types.end(), "Missing type");
+ type = &i->second;
+ xbt_assert(type->element_count == 6*5*4,
+ "element_count mismatch in test_some_array : %i / %i",
+ type->element_count, 6*5*4);
+
+ var = test_global_variable(process, process.binary_info.get(),