OCC - HasErrors() available from v7.2

This commit is contained in:
Matthias Hochsteger 2020-06-03 11:50:33 +02:00
parent 1d97367e30
commit 9b28a2df02

View File

@ -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;