mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
Revert CV_TRY/CV_CATCH macros
This reverts commit 7349b8f5ce (partially).
This commit is contained in:
@@ -2236,13 +2236,13 @@ bool findCirclesGrid2(InputArray _image, Size patternSize,
|
||||
void* oldCbkData;
|
||||
ErrorCallback oldCbk = redirectError(quiet_error, 0, &oldCbkData); // FIXIT not thread safe
|
||||
#endif
|
||||
CV_TRY
|
||||
try
|
||||
{
|
||||
isFound = boxFinder.findHoles();
|
||||
}
|
||||
CV_CATCH(Exception, e)
|
||||
catch (const cv::Exception &)
|
||||
{
|
||||
CV_UNUSED(e);
|
||||
|
||||
}
|
||||
#if BE_QUIET
|
||||
redirectError(oldCbk, oldCbkData);
|
||||
|
||||
Reference in New Issue
Block a user