diff options
Diffstat (limited to 'win32/HanjaDic.cxx')
| -rw-r--r-- | win32/HanjaDic.cxx | 14 | 
1 files changed, 1 insertions, 13 deletions
diff --git a/win32/HanjaDic.cxx b/win32/HanjaDic.cxx index 04df43845..90ba6f698 100644 --- a/win32/HanjaDic.cxx +++ b/win32/HanjaDic.cxx @@ -14,23 +14,11 @@  #include <windows.h>  #include <ole2.h> +#include "WinTypes.h"  #include "HanjaDic.h"  namespace Scintilla::Internal::HanjaDict { -struct UnknownReleaser { -	// Called by unique_ptr to destroy/free the resource -	template <class T> -	void operator()(T *pUnknown) noexcept { -		// same as ReleaseUnknown() in PlatWin.h -		try { -			pUnknown->Release(); -		} catch (...) { -			// IUnknown::Release must not throw, ignore if it does. -		} -	} -}; -  struct BSTRDeleter {  	void operator()(BSTR bstr) const noexcept {  		SysFreeString(bstr);  | 
