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:
authorMaxim Pimenov <m@maps.me>2018-12-19 17:54:28 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2018-12-20 13:29:47 +0300
commit9aae789623c3edc1fb68b1259ced65a163026b37 (patch)
treee08014742f969c9f04318096fc019b405572bc43 /coding
parenta724c0e417e7ef553f464f04a94db60cb68fa751 (diff)
Review fixes.
Diffstat (limited to 'coding')
-rw-r--r--coding/reader.cpp2
-rw-r--r--coding/reader.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/coding/reader.cpp b/coding/reader.cpp
index b7f4a1c59d..e682e12c01 100644
--- a/coding/reader.cpp
+++ b/coding/reader.cpp
@@ -10,7 +10,7 @@ void Reader::ReadAsString(string & s) const
Read(0, &s[0], sz);
}
-vector<uint8_t> Reader::Contents() const
+vector<uint8_t> Reader::ReadAsBytes() const
{
vector<uint8_t> contents;
contents.resize(Size());
diff --git a/coding/reader.hpp b/coding/reader.hpp
index 5ff276ccc1..2c86532fce 100644
--- a/coding/reader.hpp
+++ b/coding/reader.hpp
@@ -32,7 +32,7 @@ public:
// Reads the contents of this Reader to a vector of 8-bit bytes.
// Similar to ReadAsString but makes no assumptions about the char type.
- vector<uint8_t> Contents() const;
+ vector<uint8_t> ReadAsBytes() const;
static bool IsEqual(string const & name1, string const & name2);
};