vcpkg/ports/opencv2/0011-msvc-compile-fix.patch

13 lines
412 B
Diff

diff --git a/modules/highgui/src/cap_msmf.hpp b/modules/highgui/src/cap_msmf.hpp
index 9ce2a9c..b72c7f4 100644
--- a/modules/highgui/src/cap_msmf.hpp
+++ b/modules/highgui/src/cap_msmf.hpp
@@ -2312,6 +2312,7 @@ public:
}
protected:
+ using Node = typename List<T*>::Node;
HRESULT InsertAfter(Ptr item, Node *pBefore)
{
// Do not allow nullptr item pointers unless NULLABLE is true.