1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

fix: remove extra '/O' modifier for '/IO' arguments

This commit is contained in:
Vadim Levin
2023-02-17 12:26:41 +03:00
parent 923dbcc58f
commit 642942a72f
2 changed files with 11 additions and 0 deletions
+2
View File
@@ -616,6 +616,8 @@ class CppHeaderParser(object):
("InputOutputArray", mat),
("OutputArray", mat),
("noArray", arg_type)]).strip()
if '/IO' in modlist and '/O' in modlist:
modlist.remove('/O')
args.append([arg_type, arg_name, defval, modlist])
npos = arg_start-1