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 // Perform the operation
aBuilder.Perform(); aBuilder.Perform();
// Check for the errors // Check for the errors
#if OCC_VERSION_HEX >= 0x070000 #if OCC_VERSION_HEX >= 0x070200
if (aBuilder.HasErrors()) if (aBuilder.HasErrors())
{ {
cout << "builder has errors" << endl; cout << "builder has errors" << endl;