diff options
author | vng <viktor.govako@gmail.com> | 2015-10-12 12:56:42 +0300 |
---|---|---|
committer | vng <viktor.govako@gmail.com> | 2015-10-12 15:34:54 +0300 |
commit | 9476c8fbcbd04f411e2e6ab42fb730b0c6d33b23 (patch) | |
tree | bc02ed3cc9fb7f884fd0fe7a41039835717ceb2a /coding/file_container.hpp | |
parent | 93fb8cdc33a6a515c4de798f773680db1562a05d (diff) |
Review fixes.
Diffstat (limited to 'coding/file_container.hpp')
-rw-r--r-- | coding/file_container.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/coding/file_container.hpp b/coding/file_container.hpp index 5c5e9c0e19..ea81e7d970 100644 --- a/coding/file_container.hpp +++ b/coding/file_container.hpp @@ -189,7 +189,7 @@ public: uint64_t m_origSize; }; - Handle Map(uint64_t off, uint64_t size, string const & tag) const; + Handle Map(uint64_t offset, uint64_t size, string const & tag) const; private: #ifdef OMIM_OS_WINDOWS @@ -200,11 +200,13 @@ private: #endif }; -} +} // namespace detail class FilesMappingContainer : public FilesContainerBase { public: + typedef detail::MappedFile::Handle Handle; + /// Do nothing by default, call Open to attach to file. FilesMappingContainer() = default; explicit FilesMappingContainer(string const & fName); @@ -214,8 +216,6 @@ public: void Open(string const & fName); void Close(); - typedef detail::MappedFile::Handle Handle; - Handle Map(Tag const & tag) const; FileReader GetReader(Tag const & tag) const; |