Salome HOME
Refactoring: static constants are replaced by inline functions in:
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Plugin.cpp
index 1c9273d5f18b6a37ccfa75889ba47f18745c6310..1ae9381cd9253ab3b3bb5792bd65b1bd8384a9fa 100644 (file)
@@ -17,7 +17,7 @@ FeaturesPlugin_Plugin::FeaturesPlugin_Plugin()
 
 FeaturePtr FeaturesPlugin_Plugin::createFeature(string theFeatureID)
 {
-  if (theFeatureID == FEATURES_EXTRUSION_KIND) {
+  if (theFeatureID == FeaturesPlugin_Extrusion::ID()) {
     return FeaturePtr(new FeaturesPlugin_Extrusion);
   }
   // feature of such kind is not found