Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refs #30 - Sketch base GUI: create, draw lines
[modules/shaper.git]
/
src
/
ConstructionPlugin
/
ConstructionPlugin_Plugin.cpp
diff --git
a/src/ConstructionPlugin/ConstructionPlugin_Plugin.cpp
b/src/ConstructionPlugin/ConstructionPlugin_Plugin.cpp
index c433491f9f5a0e9fffd7b4dd10e94f9636a2f745..5c1f39f2f8de2dfc5bc87f1df52371d2fbb9dff3 100644
(file)
--- 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);
}
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") {
{
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
}
// feature of such kind is not found
- return shared_ptr<ModelAPI_Feature>();
+ return
boost::
shared_ptr<ModelAPI_Feature>();
}
}