From ff5bbe677ed155d1e571d4175ba86925b353173e Mon Sep 17 00:00:00 2001 From: Leon Timmermans Date: Sat, 30 Jul 2022 21:49:07 +0200 Subject: Fix typo in CvMETHOD_off definition The definition uses the wrong name for the argument (off instead of cv), and therefore causes compilation failures. --- cv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cv.h') diff --git a/cv.h b/cv.h index 3115fb81f7..ac2fb82e5a 100644 --- a/cv.h +++ b/cv.h @@ -232,7 +232,7 @@ See L. # define CVf_METHOD CVf_NOWARN_AMBIGUOUS # define CvMETHOD(cv) CvNOWARN_AMBIGUOUS(cv) # define CvMETHOD_on(cv) CvNOWARN_AMBIGUOUS_on(cv) -# define CvMETHOD_off(cv) CvNOWARN_AMBIGUOUS_off(off) +# define CvMETHOD_off(cv) CvNOWARN_AMBIGUOUS_off(cv) #endif /* Flags for newXS_flags */ -- cgit v1.2.1