From fbbed6aae07a3cc9cace2d0881bf928b14f1e54a Mon Sep 17 00:00:00 2001 From: inv Date: Tue, 4 Jun 2013 10:41:10 +0000 Subject: [PATCH] RNV: fix compilation error. --- src/GEOMAlgo/GEOMAlgo_WireSolid.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/GEOMAlgo/GEOMAlgo_WireSolid.cxx b/src/GEOMAlgo/GEOMAlgo_WireSolid.cxx index 306e19b89..91d76b682 100644 --- a/src/GEOMAlgo/GEOMAlgo_WireSolid.cxx +++ b/src/GEOMAlgo/GEOMAlgo_WireSolid.cxx @@ -43,6 +43,8 @@ #include #include +#include + //======================================================================= //function : GEOMAlgo_WireSolid //purpose : @@ -174,7 +176,11 @@ void GEOMAlgo_WireSolid::BuildResult() } else if (aNbPB==1) { const Handle(BOPDS_PaveBlock)& aPB=aLPB.First(); +#if OCC_VERSION_LARGE > 0x06050500 + if (pDS->IsCommonBlock(aPB)) { +#else if (aPB->IsCommonBlock()) { +#endif aState=TopAbs_ON; } else{ -- 2.39.2