X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=libcds%2Fsrc%2Fcoders%2Fhuffman_codes.cpp;h=d11458d1ee6627505eeb2875fc60cda1300400f6;hb=f32808a35be7a1e62830a5972473178014fa44e5;hp=a3ccf1ab8e202b77e273e53a744e805d87f36256;hpb=4bd816265ae88b4e1631634260384baa559f8967;p=SXSI%2FXMLTree.git diff --git a/libcds/src/coders/huffman_codes.cpp b/libcds/src/coders/huffman_codes.cpp index a3ccf1a..d11458d 100644 --- a/libcds/src/coders/huffman_codes.cpp +++ b/libcds/src/coders/huffman_codes.cpp @@ -20,6 +20,7 @@ */ #include +using std::max; huffman_codes::huffman_codes(uint * symb, uint n) { uint max_v = 0; @@ -39,7 +40,7 @@ huffman_codes::huffman_codes(uchar * symb, uint n) { for(uint i=0;i