We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa8bcfd commit be68e9dCopy full SHA for be68e9d
src/transform/LZCodec.cpp
@@ -31,13 +31,13 @@ LZCodec::LZCodec(Context& ctx)
31
const int lzType = ctx.getInt("lz", TransformFactory<byte>::LZ_TYPE);
32
33
if (lzType == TransformFactory<byte>::LZP_TYPE) {
34
- _delegate = (Transform<byte>*)new LZPCodec(ctx);
+ _delegate = new LZPCodec(ctx);
35
}
36
else if (lzType == TransformFactory<byte>::LZX_TYPE) {
37
- _delegate = (Transform<byte>*)new LZXCodec<true>(ctx);
+ _delegate = new LZXCodec<true>(ctx);
38
39
else {
40
- _delegate = (Transform<byte>*)new LZXCodec<false>(ctx);
+ _delegate = new LZXCodec<false>(ctx);
41
42
43
0 commit comments