Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

Commit 13b182ec authored by Sylvain Thery's avatar Sylvain Thery
Browse files

bug: quicktraversal pointers not to NULL after clear(true) !!

parent 430c4c9b
...@@ -145,6 +145,7 @@ void GenericMap::clear(bool removeAttrib) ...@@ -145,6 +145,7 @@ void GenericMap::clear(bool removeAttrib)
{ {
m_attribs[i].clear(true) ; m_attribs[i].clear(true) ;
m_embeddings[i] = NULL ; m_embeddings[i] = NULL ;
m_quickTraversal[i] = NULL;
} }
for(std::multimap<AttributeMultiVectorGen*, AttributeHandlerGen*>::iterator it = attributeHandlers.begin(); it != attributeHandlers.end(); ++it) for(std::multimap<AttributeMultiVectorGen*, AttributeHandlerGen*>::iterator it = attributeHandlers.begin(); it != attributeHandlers.end(); ++it)
(*it).second->setInvalid() ; (*it).second->setInvalid() ;
......
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