A3t
- Fixed segfault caused by combined map lookup and method call.
This commit is contained in:
@@ -629,7 +629,11 @@ void A3t::findAttributeModifier ()
|
|||||||
(*i)->attribute ("modifier", modifier);
|
(*i)->attribute ("modifier", modifier);
|
||||||
(*i)->attribute ("sense", sense);
|
(*i)->attribute ("sense", sense);
|
||||||
|
|
||||||
if (context.columns[canonical]->modifiable ())
|
std::map <std::string, Column*>::const_iterator col;
|
||||||
|
col = context.columns.find (canonical);
|
||||||
|
if (col != context.columns.end () &&
|
||||||
|
col->second->modifiable ())
|
||||||
|
{
|
||||||
(*i)->tag ("MODIFIABLE");
|
(*i)->tag ("MODIFIABLE");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -637,6 +641,7 @@ void A3t::findAttributeModifier ()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user