Skip to content

Commit 22e2404

Browse files
committed
Rename methods
1 parent e3dfd54 commit 22e2404

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/transform/LZCodec.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -401,15 +401,15 @@ bool LZXCodec<T>::inverse(SliceArray<byte>& input, SliceArray<byte>& output, int
401401
{
402402
int bsVersion = _pCtx == nullptr ? 6 : _pCtx->getInt("bsVersion", 6);
403403

404-
if (bsVersion < 5)
405-
return inverseV4(input, output, count);
404+
if (bsVersion < 6)
405+
return inverseV5(input, output, count);
406406

407-
return inverseV5(input, output, count);
407+
return inverseV6(input, output, count);
408408
}
409409

410410

411411
template <bool T>
412-
bool LZXCodec<T>::inverseV5(SliceArray<byte>& input, SliceArray<byte>& output, int count)
412+
bool LZXCodec<T>::inverseV6(SliceArray<byte>& input, SliceArray<byte>& output, int count)
413413
{
414414
if (count == 0)
415415
return true;
@@ -541,7 +541,7 @@ bool LZXCodec<T>::inverseV5(SliceArray<byte>& input, SliceArray<byte>& output, i
541541

542542

543543
template <bool T>
544-
bool LZXCodec<T>::inverseV4(SliceArray<byte>& input, SliceArray<byte>& output, int count)
544+
bool LZXCodec<T>::inverseV5(SliceArray<byte>& input, SliceArray<byte>& output, int count)
545545
{
546546
if (count == 0)
547547
return true;

src/transform/LZCodec.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ namespace kanzi {
114114
int _bufferSize;
115115
Context* _pCtx;
116116

117-
bool inverseV4(SliceArray<byte>& src, SliceArray<byte>& dst, int length);
117+
bool inverseV6(SliceArray<byte>& src, SliceArray<byte>& dst, int length);
118118

119119
bool inverseV5(SliceArray<byte>& src, SliceArray<byte>& dst, int length);
120120

0 commit comments

Comments
 (0)