From e537e1650d806fa547eb4c6b09638e15ffa5fb9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20M=C3=B6ller?= Date: Wed, 21 Feb 2024 12:31:07 +0100 Subject: [PATCH] adds missing const --- modules/videoio/include/opencv2/videoio.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/videoio/include/opencv2/videoio.hpp b/modules/videoio/include/opencv2/videoio.hpp index 18a682079f..ee23dbe82f 100644 --- a/modules/videoio/include/opencv2/videoio.hpp +++ b/modules/videoio/include/opencv2/videoio.hpp @@ -960,7 +960,7 @@ public: CV_WRAP void setExceptionMode(bool enable) { throwOnFail = enable; } /// query if exception mode is active - CV_WRAP bool getExceptionMode() { return throwOnFail; } + CV_WRAP bool getExceptionMode() const { return throwOnFail; } /** @brief Wait for ready frames from VideoCapture.