Commit 68d7bddd authored by Kevin Coulomb's avatar Kevin Coulomb

Petit correctif pour augmenter la robustesse du programme

parent 7a590417
......@@ -318,6 +318,9 @@ EntityType *Trace::search_entity_type(String name) const {
}
EntityValue *Trace::search_entity_value(String name, EntityType *entity_type) const {
if(!entity_type){
return NULL;
}
for (list<EntityValue *>::const_iterator it = entity_type->get_values()->begin();
it != entity_type->get_values()->end();
it++) {
......
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