From 0b84a54a6546806c4bf442445dc93b190b026cc6 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Mon, 18 Aug 2025 09:57:13 +0300 Subject: [PATCH] Fixed duplicate declaration issue in Swift/ObjC bindings. --- modules/imgproc/include/opencv2/imgproc.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/imgproc/include/opencv2/imgproc.hpp b/modules/imgproc/include/opencv2/imgproc.hpp index 69413772d3..ca21f3ab8e 100644 --- a/modules/imgproc/include/opencv2/imgproc.hpp +++ b/modules/imgproc/include/opencv2/imgproc.hpp @@ -1113,7 +1113,7 @@ public: CV_WRAP Subdiv2D(Rect rect); /** @overload */ - CV_WRAP Subdiv2D(Rect2f rect); + CV_WRAP_AS(Subdiv2D2f) Subdiv2D(Rect2f rect); /** @overload @@ -1131,7 +1131,7 @@ public: @param rect Rectangle that includes all of the 2d points that are to be added to the subdivision. */ - CV_WRAP void initDelaunay(Rect2f rect); + CV_WRAP_AS(initDelaunay2f) CV_WRAP void initDelaunay(Rect2f rect); /** @brief Insert a single point into a Delaunay triangulation.