Skip to content

python: force using of ArgInfo - #15919

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
alalek:python_fix_arginfo
Nov 19, 2019
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
alalek:python_fix_arginfo

Conversation

@alalek

@alalek alalek commented Nov 15, 2019 •

Copy link
Copy Markdown
Member

Merge with contrib: opencv/opencv_contrib#2353

Using just "name" is not enough, especially in case of UMat and "output" parameter.

relates #15895

Comment on lines +49 to +50
ArgInfo(const ArgInfo&); // = delete
ArgInfo& operator=(const ArgInfo&); // = delete

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't you delete these publicly and explicitly?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"= delete" requires C++11 (OpenCV 3.4 still using C++98)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, didn't see that. LGTM, then 👍

@opencv-pushbot
opencv-pushbot merged commit 7ec91ae into opencv:3.4 Nov 19, 2019
@alalek alalek mentioned this pull request Nov 19, 2019
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants