]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix compilation on Debian 7
authorazv <azv@opencascade.com>
Fri, 22 Apr 2016 12:32:06 +0000 (15:32 +0300)
committerazv <azv@opencascade.com>
Fri, 22 Apr 2016 12:32:37 +0000 (15:32 +0300)
src/SketchPlugin/SketchPlugin_Projection.cpp

index c4af99b80e70e34148bbe38c69067424be158264..9adacbb6790aa652d75ade054373e0c72e20c021 100644 (file)
@@ -53,7 +53,7 @@ void SketchPlugin_Projection::execute()
     return;
   FeaturePtr aProjection = ModelAPI_Feature::feature(aRefAttr->object());
 
-  if (!lastResult()) {
+  if (!lastResult().get()) {
     ResultConstructionPtr aConstr = document()->createConstruction(data());
     aConstr->setShape(std::shared_ptr<GeomAPI_Edge>());
     aConstr->setIsInHistory(false);