Fix #22765: Remove unnecessary function resulting in infinite recursion. Since In...
authorDan Mašek <dan.masek@gmail.com>
Mon, 14 Nov 2022 23:44:51 +0000 (00:44 +0100)
committerDan Mašek <dan.masek@gmail.com>
Mon, 14 Nov 2022 23:44:51 +0000 (00:44 +0100)
commit51b897b6724626a7a9bfdf2940ae575c144ad470
treefdae5b37226d6183474090f2b19efe87315bf1c7
parentda4ac6b7eff2e8869567e4faaff73312f9e1ef57
Fix #22765: Remove unnecessary function resulting in infinite recursion. Since In all four places it was used, we already check the shared pointer, the extra assert that the function provided was redundand, so I removed it, and I added a dereference to the `window` parameters.
modules/highgui/src/window_w32.cpp