Salome HOME
Resolve batch runtime errors on debian squeeze
[modules/shaper.git] / src / ModelAPI / ModelAPI_ShapeValidator.cpp
index b451ed1bb6a0da11fca64b59fe369df1ca2f09c0..8de8d27679c530607eba6f4c06ffc619891a6e65 100644 (file)
@@ -16,7 +16,7 @@ bool ModelAPI_ShapeValidator::isValid(const FeaturePtr& theFeature,
   std::string aCurrentAttributeId = theAttribute->id();
   // get all feature attributes
   std::list<AttributePtr> anAttrs = 
-                   theFeature->data()->attributes(ModelAPI_AttributeSelection::type());
+                   theFeature->data()->attributes(ModelAPI_AttributeSelection::typeId());
   if (anAttrs.size() > 0 && theShape.get() != NULL) {
     std::list<AttributePtr>::iterator anAttr = anAttrs.begin();
     for(; anAttr != anAttrs.end(); anAttr++) {