Skip to content

python: force using of ArgInfo#15919

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

python: force using of ArgInfo#15919
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:python_fix_arginfo

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Nov 15, 2019

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 👍

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