]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_ViewerPrs.h
Salome HOME
Boost has been removed from code
[modules/shaper.git] / src / ModuleBase / ModuleBase_ViewerPrs.h
index c67c2312bd7f05a9ad06b378f55be6919e6fb644..b9bcb2b9d5c18c4a2f61a00dd822e5f70d36ccba 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "ModuleBase.h"
 
-#include <boost/shared_ptr.hpp>
+#include <memory>
 #include <TopoDS_Shape.hxx>
 #include <SelectMgr_EntityOwner.hxx>
 #include <AIS_InteractiveObject.hxx>
@@ -99,8 +99,8 @@ class ModuleBase_ViewerPrs
   {
     bool aResult = (myResult.get() == thePrs.object().get());
     bool aOwner = (myOwner.Access() == thePrs.owner().Access());
-    bool aShape = myShape.IsEqual(thePrs.shape());
-    bool aIO = (myInteractive == thePrs.interactive());
+    bool aShape = myShape.IsEqual(thePrs.shape()) == Standard_True;
+    bool aIO = (myInteractive == thePrs.interactive()) == Standard_True;
     return aResult && aOwner && aShape && aIO;
   }