fixed build warnings (including bug report #1005303 )

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3628 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-08-14 17:35:05 +00:00
parent efa2113031
commit d855dafe58
6 changed files with 8 additions and 5 deletions

View file

@ -96,7 +96,7 @@ class CInTree: public CLZInWindow
public:
CInTree();
~CInTree();
virtual ~CInTree();
HRESULT Create(UINT32 sizeHistory, UINT32 keepAddBufferBefore, UINT32 matchMaxLen,
UINT32 keepAddBufferAfter, UINT32 sizeReserv = (1<<17));
HRESULT Init(ISequentialInStream *stream);

View file

@ -62,6 +62,7 @@ class CInTree2: public CInTree
virtual void BeforeMoveBlock();
virtual void AfterMoveBlock();
public:
virtual ~CInTree2() {}
void SetCallback(IMatchFinderCallback *callback)
{
_callback = callback;
@ -102,6 +103,7 @@ public:
void SetWindowReservSize(UINT32 reservWindowSize)
{ m_WindowReservSize = reservWindowSize; }
*/
virtual ~CMatchFinderBinTree() {}
};
}

View file

@ -30,7 +30,7 @@ protected:
void Free();
public:
CLZInWindow(): _bufferBase(0) {}
~CLZInWindow();
virtual ~CLZInWindow();
void Create(UINT32 keepSizeBefore, UINT32 keepSizeAfter,
UINT32 keepSizeReserv = (1<<17));

View file

@ -249,6 +249,7 @@ private:
public:
CEncoder();
virtual ~CEncoder() {}
void SetWriteEndMarkerMode(bool writeEndMarker)
{ _writeEndMark= writeEndMarker; }