Skip to content

core: support CV_Check*() macros with 'bool' parameters#22811

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:core_check_bool
Nov 16, 2022
Merged

core: support CV_Check*() macros with 'bool' parameters#22811
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:core_check_bool

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Nov 15, 2022

Added support for:

  • CV_Check{EQ,NE}(bool, bool, msg) (LT,GE,etc variants doesn't makes sense with bool and should not be used)
  • CV_CheckTrue(bool_expr_must_be_true, msg)
  • CV_CheckFalse(bool_expr_must_be_false, msg)

Also eliminates related build warning: http://pullrequest.opencv.org/buildbot/builders/precommit_linux32/builds/100058

force_builders=Linux32
build_image:Custom Win=msvs2019

@asmorkalov asmorkalov requested a review from mshabunin November 15, 2022 10:18
@opencv-pushbot opencv-pushbot merged commit d9f6641 into opencv:3.4 Nov 16, 2022
@alalek alalek mentioned this pull request Nov 16, 2022
@alalek alalek mentioned this pull request Jan 8, 2023
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.

3 participants