mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025266: Debug statements in the source are getting flushed on to the console
Output to cout activated previously in Debug mode by #ifdef DEB is suppressed by using macro <PACKAGE>_DEB instead of DEB
This commit is contained in:
@@ -181,9 +181,11 @@ void StdPrs_WFDeflectionRestrictedFace::Add
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifdef STDPRS_DEB
|
||||
else {
|
||||
cout << "Cannot evaluate curve on surface"<<endl;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
U1 = TheRCurve->FirstParameter();
|
||||
@@ -454,9 +456,11 @@ Standard_Boolean StdPrs_WFDeflectionRestrictedFace::Match
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifdef STDPRS_DEB
|
||||
else {
|
||||
cout << "Cannot evaluate curve on surface"<<endl;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user