Salome HOME
refs #30 - Sketch base GUI: create, draw lines
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Plugin.cpp
index c433491f9f5a0e9fffd7b4dd10e94f9636a2f745..5c1f39f2f8de2dfc5bc87f1df52371d2fbb9dff3 100644 (file)
@@ -14,11 +14,11 @@ ConstructionPlugin_Plugin::ConstructionPlugin_Plugin()
   ModelAPI_PluginManager::get()->registerPlugin(this);
 }
 
-shared_ptr<ModelAPI_Feature> ConstructionPlugin_Plugin::createFeature(string theFeatureID)
+boost::shared_ptr<ModelAPI_Feature> ConstructionPlugin_Plugin::createFeature(string theFeatureID)
 {
   if (theFeatureID == "Point") {
-    return shared_ptr<ModelAPI_Feature>(new ConstructionPlugin_Point);
+    return boost::shared_ptr<ModelAPI_Feature>(new ConstructionPlugin_Point);
   }
   // feature of such kind is not found
-  return shared_ptr<ModelAPI_Feature>();
+  return boost::shared_ptr<ModelAPI_Feature>();
 }