Salome HOME
Correction of bug detected by the boss
[modules/yacs.git] / src / engine / Container.hxx
index 73f32524e34f696184ffa3711aae3240df429b41..8f5b6edcf59a75c7f330c3b16fef106a1f578fc3 100644 (file)
@@ -72,7 +72,7 @@ namespace YACS
       virtual std::map<std::string,std::string> getProperties() const = 0;
       virtual std::map<std::string,std::string> getResourceProperties(const std::string& name) const = 0;
       virtual void setProperties(const std::map<std::string,std::string>& properties);
-      std::string getName() const { return _name; }
+      virtual std::string getName() const { return _name; }
       //! \b WARNING ! name is used in edition to identify different containers, it is not the runtime name of the container
       void setName(std::string name) { _name = name; }
       void setProc(Proc* proc) { _proc = proc; }