Fix warning from clang

This commit is contained in:
Kovid Goyal 2023-01-27 18:00:05 +05:30
parent 55ebdf049f
commit ccd5fd83f4
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -222,6 +222,7 @@ static PyMethodDef Handle_methods[] = {
class DeleteFileProgressSink : public IFileOperationProgressSink { // {{{ class DeleteFileProgressSink : public IFileOperationProgressSink { // {{{
public: public:
DeleteFileProgressSink() : m_cRef(0) {} DeleteFileProgressSink() : m_cRef(0) {}
virtual ~DeleteFileProgressSink() = default;
private: private:
ULONG STDMETHODCALLTYPE AddRef(void) { InterlockedIncrement(&m_cRef); return m_cRef; } ULONG STDMETHODCALLTYPE AddRef(void) { InterlockedIncrement(&m_cRef); return m_cRef; }