diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2018-03-05 15:05:06 +0300 |
---|---|---|
committer | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2018-03-06 12:17:41 +0300 |
commit | a0e432bf6814a1fae8e41c02e5f97ae6642385a1 (patch) | |
tree | 73ea27492b1f0b49efa1b25d41d6123aff22bcd6 /coding/huffman.cpp | |
parent | fe4a26a2e1925003234f624b4db25deabdadee1b (diff) |
Using _t suffix instead of ::type in whole project + using std:: somewhere.
Diffstat (limited to 'coding/huffman.cpp')
-rw-r--r-- | coding/huffman.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coding/huffman.cpp b/coding/huffman.cpp index aa92e8ad49..e663a2b80c 100644 --- a/coding/huffman.cpp +++ b/coding/huffman.cpp @@ -61,7 +61,7 @@ void HuffmanCoder::DeleteHuffmanTree(Node * root) void HuffmanCoder::BuildHuffmanTree(Freqs const & freqs) { - priority_queue<Node *, vector<Node *>, NodeComparator> pq; + std::priority_queue<Node *, std::vector<Node *>, NodeComparator> pq; for (auto const & e : freqs.GetTable()) pq.push(new Node(e.first, e.second, true /* isLeaf */)); |