diff options
author | Yuri Gorshenin <y@maps.me> | 2017-07-04 12:48:25 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2017-07-04 14:09:45 +0300 |
commit | da19077d3b927d26b197e9f09fe161c795cbe7e4 (patch) | |
tree | bdf77f090725a44f2dfe357c22637492a8c2fbef /coding/bwt_coder.hpp | |
parent | f8aeb3711100c875e718b952d8a42442030d02af (diff) |
Review fixes.
Diffstat (limited to 'coding/bwt_coder.hpp')
-rw-r--r-- | coding/bwt_coder.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/coding/bwt_coder.hpp b/coding/bwt_coder.hpp index 59d66c2d94..0a9a5e6398 100644 --- a/coding/bwt_coder.hpp +++ b/coding/bwt_coder.hpp @@ -43,7 +43,7 @@ public: template <typename Sink> static void EncodeAndWriteBlock(Sink & sink, size_t n, uint8_t const * s) { - vector<uint8_t> bwtBuffer; + std::vector<uint8_t> bwtBuffer; EncodeAndWriteBlock(sink, n, s, bwtBuffer); } @@ -59,14 +59,14 @@ public: WriteVarUint(sink, numBlocks); for (size_t i = 0; i < n; i += params.m_blockSize) { - auto const m = min(n - i, params.m_blockSize); + auto const m = std::min(n - i, params.m_blockSize); EncodeAndWriteBlock(sink, m, s + i, bwtBuffer); } } template <typename Source, typename OutIt> - static OutIt ReadAndDecodeBlock(Source & source, vector<uint8_t> & bwtBuffer, - vector<uint8_t> & revBuffer, OutIt it) + static OutIt ReadAndDecodeBlock(Source & source, std::vector<uint8_t> & bwtBuffer, + std::vector<uint8_t> & revBuffer, OutIt it) { auto const start = ReadVarUint<uint64_t, Source>(source); @@ -95,8 +95,8 @@ public: template <typename Source, typename OutIt> static OutIt ReadAndDecodeBlock(Source & source, OutIt it) { - vector<uint8_t> bwtBuffer; - vector<uint8_t> revBuffer; + std::vector<uint8_t> bwtBuffer; + std::vector<uint8_t> revBuffer; return ReadAndDecodeBlock(source, bwtBuffer, revBuffer, it); } |