diff options
author | 2016-04-09 21:45:54 +1000 | |
---|---|---|
committer | 2016-04-09 21:52:08 +1000 | |
commit | e925c494fe30adafb615c075f5eb692dd2b2effa (patch) | |
tree | eed0b7ccadb049ed2dc8a72282c0235c4e94b6ae /3rdparty/lzma/CPP/7zip/Compress/CopyRegister.cpp | |
parent | b13e02f9751424dfc9ce6070676e2e318087a991 (diff) |
Update LZMA SDK to 15.14
Diffstat (limited to '3rdparty/lzma/CPP/7zip/Compress/CopyRegister.cpp')
-rw-r--r-- | 3rdparty/lzma/CPP/7zip/Compress/CopyRegister.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/3rdparty/lzma/CPP/7zip/Compress/CopyRegister.cpp b/3rdparty/lzma/CPP/7zip/Compress/CopyRegister.cpp index efb9b9e954f..703c52ca6e0 100644 --- a/3rdparty/lzma/CPP/7zip/Compress/CopyRegister.cpp +++ b/3rdparty/lzma/CPP/7zip/Compress/CopyRegister.cpp @@ -6,9 +6,6 @@ #include "CopyCoder.h" -static void *CreateCodec() { return (void *)(ICompressCoder *)(new NCompress::CCopyCoder); } +REGISTER_CODEC_CREATE(CreateCodec, NCompress::CCopyCoder()) -static CCodecInfo g_CodecInfo = -{ CreateCodec, CreateCodec, 0x00, L"Copy", 1, false }; - -REGISTER_CODEC(Copy) +REGISTER_CODEC_2(Copy, CreateCodec, CreateCodec, 0, "Copy") |