mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Revert CV_TRY/CV_CATCH macros
This reverts commit 7349b8f5ce (partially).
This commit is contained in:
@@ -1820,7 +1820,7 @@ cvFindContours_Impl( void* img, CvMemStorage* storage,
|
||||
}
|
||||
else
|
||||
{
|
||||
CV_TRY
|
||||
try
|
||||
{
|
||||
scanner = cvStartFindContours_Impl( img, storage, cntHeaderSize, mode, method, offset,
|
||||
needFillBorder);
|
||||
@@ -1832,11 +1832,11 @@ cvFindContours_Impl( void* img, CvMemStorage* storage,
|
||||
}
|
||||
while( contour != 0 );
|
||||
}
|
||||
CV_CATCH_ALL
|
||||
catch(...)
|
||||
{
|
||||
if( scanner )
|
||||
cvEndFindContours(&scanner);
|
||||
CV_RETHROW();
|
||||
throw;
|
||||
}
|
||||
|
||||
*firstContour = cvEndFindContours( &scanner );
|
||||
|
||||
Reference in New Issue
Block a user