From 9b28a2df026753a2ba6dfcdcad3a641799c211a8 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Wed, 3 Jun 2020 11:50:33 +0200 Subject: [PATCH] OCC - HasErrors() available from v7.2 --- libsrc/occ/occgeom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/occ/occgeom.cpp b/libsrc/occ/occgeom.cpp index abee8107..91dfb2cf 100644 --- a/libsrc/occ/occgeom.cpp +++ b/libsrc/occ/occgeom.cpp @@ -236,7 +236,7 @@ namespace netgen // Perform the operation aBuilder.Perform(); // Check for the errors -#if OCC_VERSION_HEX >= 0x070000 +#if OCC_VERSION_HEX >= 0x070200 if (aBuilder.HasErrors()) { cout << "builder has errors" << endl;