Salome HOME
bos #18326 [CEA] YACS operator< YACS/src/genericgui/LinkAStar.hxx
[modules/yacs.git] / src / genericgui / EditionComponent.cxx
index ea0eea506fd8fb1a02c061b476183795a88842b2..1b0589804e4a54a606548837553e1c6c31b06e60 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2019  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -104,7 +104,7 @@ void EditionComponent::changeContainer(int index)
       return;
     }
   Container *newContainer =proc->containerMap[contName];
-  SubjectContainer *scnt = GuiContext::getCurrent()->_mapOfSubjectContainer[newContainer];
+  SubjectContainerBase *scnt = GuiContext::getCurrent()->_mapOfSubjectContainer[newContainer];
   scompo->associateToContainer(scnt);
   scompo->select(true);
 }