X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConstructionPlugin%2FConstructionPlugin_Plugin.cpp;h=5c1f39f2f8de2dfc5bc87f1df52371d2fbb9dff3;hb=f336bd42fdbf099f8fed4dc5288f4a2cef3a3dda;hp=c433491f9f5a0e9fffd7b4dd10e94f9636a2f745;hpb=de0f49686ec6655ddc5816c8fa5383964662aec4;p=modules%2Fshaper.git diff --git a/src/ConstructionPlugin/ConstructionPlugin_Plugin.cpp b/src/ConstructionPlugin/ConstructionPlugin_Plugin.cpp index c433491f9..5c1f39f2f 100644 --- a/src/ConstructionPlugin/ConstructionPlugin_Plugin.cpp +++ b/src/ConstructionPlugin/ConstructionPlugin_Plugin.cpp @@ -14,11 +14,11 @@ ConstructionPlugin_Plugin::ConstructionPlugin_Plugin() ModelAPI_PluginManager::get()->registerPlugin(this); } -shared_ptr ConstructionPlugin_Plugin::createFeature(string theFeatureID) +boost::shared_ptr ConstructionPlugin_Plugin::createFeature(string theFeatureID) { if (theFeatureID == "Point") { - return shared_ptr(new ConstructionPlugin_Point); + return boost::shared_ptr(new ConstructionPlugin_Point); } // feature of such kind is not found - return shared_ptr(); + return boost::shared_ptr(); }