Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/coding
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2015-12-07 13:28:50 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:02:59 +0300
commit222098041e49940e934cfa789fe85c182277fb0d (patch)
treeb3578edefa8de3603af7e7aaad119e1eb62787c3 /coding
parent86df17e273a8be69d98538c667ef7f835c54d3a7 (diff)
Review fixes.
Diffstat (limited to 'coding')
-rw-r--r--coding/coding_tests/fixed_bits_ddvector_test.cpp4
-rw-r--r--coding/fixed_bits_ddvector.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/coding/coding_tests/fixed_bits_ddvector_test.cpp b/coding/coding_tests/fixed_bits_ddvector_test.cpp
index 4a8a998952..4919bf82ad 100644
--- a/coding/coding_tests/fixed_bits_ddvector_test.cpp
+++ b/coding/coding_tests/fixed_bits_ddvector_test.cpp
@@ -32,8 +32,8 @@ template <size_t Bits> void TestWithData(vector<uint32_t> const & lst)
builder.PushBack(v);
}
- pair<uint32_t, uint32_t> exp(optCount, lst.size());
- TEST_EQUAL(builder.GetCount(), exp, ());
+ pair<uint32_t, uint32_t> expected(optCount, lst.size());
+ TEST_EQUAL(builder.GetCount(), expected, ());
}
MemReader reader(buf.data(), buf.size());
diff --git a/coding/fixed_bits_ddvector.hpp b/coding/fixed_bits_ddvector.hpp
index b535be9b73..f0a65b197a 100644
--- a/coding/fixed_bits_ddvector.hpp
+++ b/coding/fixed_bits_ddvector.hpp
@@ -19,7 +19,7 @@
/// - value (1 << Bits) - 1 tells that actual value is stored in the exceptions table below.
/// Buffer with exceptions table, e.g. vector of (index, value) pairs till the end of the reader,
/// sorted by index parameter.
-/// Component works in little endian without any host conversions.
+/// Component is stored and used in host's endianness, without any conversions.
template
<