mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix warning from clang
This commit is contained in:
parent
55ebdf049f
commit
ccd5fd83f4
@ -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; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user