Skip to content

Commit a888dd7

Browse files
asmorkalovD00E
authored andcommitted
Fixed duplicate declaration issue in Swift/ObjC bindings.
1 parent 1c5471a commit a888dd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/imgproc/include/opencv2/imgproc.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ class CV_EXPORTS_W Subdiv2D
11131113
CV_WRAP Subdiv2D(Rect rect);
11141114

11151115
/** @overload */
1116-
CV_WRAP Subdiv2D(Rect2f rect);
1116+
CV_WRAP_AS(Subdiv2D2f) Subdiv2D(Rect2f rect);
11171117

11181118
/** @overload
11191119
@@ -1131,7 +1131,7 @@ class CV_EXPORTS_W Subdiv2D
11311131
@param rect Rectangle that includes all of the 2d points that are to be added to the subdivision.
11321132
11331133
*/
1134-
CV_WRAP void initDelaunay(Rect2f rect);
1134+
CV_WRAP_AS(initDelaunay2f) CV_WRAP void initDelaunay(Rect2f rect);
11351135

11361136
/** @brief Insert a single point into a Delaunay triangulation.
11371137

0 commit comments

Comments
 (0)