From: azv Date: Fri, 22 Apr 2016 12:32:06 +0000 (+0300) Subject: Fix compilation on Debian 7 X-Git-Tag: V_2.3.0~131^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0d00130a2fb708d8aed0230a6bf5ebab8b4a7713;p=modules%2Fshaper.git Fix compilation on Debian 7 --- diff --git a/src/SketchPlugin/SketchPlugin_Projection.cpp b/src/SketchPlugin/SketchPlugin_Projection.cpp index c4af99b80..9adacbb67 100644 --- a/src/SketchPlugin/SketchPlugin_Projection.cpp +++ b/src/SketchPlugin/SketchPlugin_Projection.cpp @@ -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()); aConstr->setIsInHistory(false);