Forgotten std namespace.

pull/242/head
Anton Gorev 2016-08-10 15:25:36 -05:00
parent 099811eda0
commit 38b51748b6
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ void HuffmanEncoder::GenerateCodeLengths(unsigned int *codeBits, unsigned int ma
if (1 == nCodes - treeBegin)
{
// special case when only one leaf in tree
fill(codeBits, codeBits + nCodes, 0);
std::fill(codeBits, codeBits + nCodes, 0);
codeBits[tree[treeBegin].symbol] = 1;
return;
}