[vlc-commits] plugin.h: Mark overriden methods with override

Hugo Beauzée-Luyssen git at videolan.org
Mon Jun 15 12:21:58 CEST 2020


npapi-vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Jun 15 12:21:15 2020 +0200| [4119af26d31c1e81cd52713c70393e329cfc1a46] | committer: Hugo Beauzée-Luyssen

plugin.h: Mark overriden methods with override

Since some are already marked as such, any missing override causes a
warning in every file incuding this header

> https://code.videolan.org/videolan/npapi-vlc/commit/4119af26d31c1e81cd52713c70393e329cfc1a46
---

 activex/plugin.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/activex/plugin.h b/activex/plugin.h
index f0c76c4..e7057a5 100644
--- a/activex/plugin.h
+++ b/activex/plugin.h
@@ -82,9 +82,9 @@ public:
     VLCPlugin& operator=(const VLCPlugin&) = delete;
 
     /* IUnknown methods */
-    STDMETHODIMP QueryInterface(REFIID riid, void **ppv);
-    STDMETHODIMP_(ULONG) AddRef(void);
-    STDMETHODIMP_(ULONG) Release(void);
+    STDMETHODIMP QueryInterface(REFIID riid, void **ppv) override;
+    STDMETHODIMP_(ULONG) AddRef(void) override;
+    STDMETHODIMP_(ULONG) Release(void) override;
 
     /* custom methods */
     HRESULT getTypeLib(LCID lcid, ITypeLib **pTL) { return LoadRegTypeLib(LIBID_AXVLC, 1, 0, lcid, pTL); };



More information about the vlc-commits mailing list