---
 mingw-w64-headers/include/comip.h | 4 ++++
 1 file changed, 4 insertions(+)


diff --git a/mingw-w64-headers/include/comip.h b/mingw-w64-headers/include/comip.h
index 5d47bd6..8f65b47 100644
--- a/mingw-w64-headers/include/comip.h
+++ b/mingw-w64-headers/include/comip.h
@@ -129,6 +129,10 @@ public:
     if(null!=0) { _com_issue_error(E_POINTER); }
     return operator=(reinterpret_cast<Interface*>(NULL));
   }
+  _com_ptr_t &operator=(long long null) {
+    if(null!=0) { _com_issue_error(E_POINTER); }
+    return operator=(reinterpret_cast<Interface*>(NULL));
+  }
   _com_ptr_t &operator=(const _variant_t& varSrc) {
     HRESULT hr = QueryStdInterfaces(varSrc);
     if(FAILED(hr) && (hr!=E_NOINTERFACE)) { _com_issue_error(hr); }

------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to