diff options
author | weidai <weidai11@users.noreply.github.com> | 2005-01-20 04:19:35 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2005-01-20 04:19:35 +0000 |
commit | b3924f2108c0b0825060e91f6fde8202ce35624d (patch) | |
tree | 1f61e8bf59450a028415e5a3f08565a6ceb86afe /zinflate.cpp | |
parent | 79e29d0de49969af44474cc890cffd7b1d6b1a4b (diff) | |
download | cryptopp-git-b3924f2108c0b0825060e91f6fde8202ce35624d.tar.gz |
changes done for FIPS-140 lab code drop
Diffstat (limited to 'zinflate.cpp')
-rw-r--r-- | zinflate.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/zinflate.cpp b/zinflate.cpp index f8d5b4b6..864a3e51 100644 --- a/zinflate.cpp +++ b/zinflate.cpp @@ -12,8 +12,11 @@ NAMESPACE_BEGIN(CryptoPP) struct CodeLessThan { - inline bool operator()(const CryptoPP::HuffmanDecoder::code_t lhs, const CryptoPP::HuffmanDecoder::CodeInfo &rhs) + inline bool operator()(CryptoPP::HuffmanDecoder::code_t lhs, const CryptoPP::HuffmanDecoder::CodeInfo &rhs) {return lhs < rhs.code;} + // needed for MSVC .NET 2005 + inline bool operator()(const CryptoPP::HuffmanDecoder::CodeInfo &lhs, const CryptoPP::HuffmanDecoder::CodeInfo &rhs) + {return lhs.code < rhs.code;} }; inline bool LowFirstBitReader::FillBuffer(unsigned int length) |