diff options
Diffstat (limited to '7zip/Compress/LZ/BinTree/BinTree.h')
-rwxr-xr-x | 7zip/Compress/LZ/BinTree/BinTree.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/7zip/Compress/LZ/BinTree/BinTree.h b/7zip/Compress/LZ/BinTree/BinTree.h index 2776259f..b3b3f13a 100755 --- a/7zip/Compress/LZ/BinTree/BinTree.h +++ b/7zip/Compress/LZ/BinTree/BinTree.h @@ -11,7 +11,8 @@ const UInt32 kMaxValForNormalize = (UInt32(1) << 31) - 1; class CMatchFinder: public IMatchFinder, public CLZInWindow, - public CMyUnknownImp + public CMyUnknownImp, + public IMatchFinderSetNumPasses { UInt32 _cyclicBufferPos; UInt32 _cyclicBufferSize; // it must be historySize + 1 @@ -47,7 +48,7 @@ class CMatchFinder: public: CMatchFinder(); virtual ~CMatchFinder(); - void SetCutValue(UInt32 cutValue) { _cutValue = cutValue; } + virtual void SetNumPasses(UInt32 numPasses) { _cutValue = numPasses; } }; } |