diff --git a/src/WinWebDiffLib/WebToolWindow.hpp b/src/WinWebDiffLib/WebToolWindow.hpp index 531e0f4..f0f93aa 100644 --- a/src/WinWebDiffLib/WebToolWindow.hpp +++ b/src/WinWebDiffLib/WebToolWindow.hpp @@ -566,7 +566,7 @@ class CWebToolWindow : public IWebToolWindow, IWebDiffEventHandler ULONG STDMETHODCALLTYPE AddRef(void) override { return ++m_nRef; } ULONG STDMETHODCALLTYPE Release(void) override { if (--m_nRef == 0) { return 0; } return m_nRef; } - HRESULT Invoke(const WebDiffEvent& event) + HRESULT STDMETHODCALLTYPE Invoke(const WebDiffEvent& event) { switch (event.type) {