Salome HOME
Create filter "Belongs To"
[modules/shaper.git] / src / ModelAPI / ModelAPI_Filter.h
index 758ece6485101a22d416b265328ac73b4ce58b03..a900548bfaeb768b208b3263d11940fcc635ce6c 100644 (file)
@@ -87,7 +87,7 @@ public:
   }
 
   /// returns the argument of the current filter by the argument id
-  AttributePtr argument(const std::string& theID) {
+  AttributePtr argument(const std::string& theID) const {
     return myMap.find(myCurrentFilter + kFilterSeparator + theID)->second;
   }
   /// adds an attribute of the filter