diff options
author | vng <viktor.govako@gmail.com> | 2012-06-16 13:47:40 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:39:56 +0300 |
commit | 4bf13b09cd9ced3791aaaec5011d1128ef58a68d (patch) | |
tree | 5ffc1b988a2b0e7bb2622b3365b8f5eaf996cda1 /coding/zip_reader.hpp | |
parent | 17952944f298181a127792190b65fea43337e8de (diff) |
- Make unique constants for map reader for all the platforms.
- Reduse default constants for regular FileReader.
Diffstat (limited to 'coding/zip_reader.hpp')
-rw-r--r-- | coding/zip_reader.hpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/coding/zip_reader.hpp b/coding/zip_reader.hpp index b00e7fcad0..088ee2651a 100644 --- a/coding/zip_reader.hpp +++ b/coding/zip_reader.hpp @@ -1,20 +1,13 @@ #pragma once -#include "../std/target_os.hpp" -//#ifdef OMIM_OS_WINDOWS - #include "file_reader.hpp" - typedef FileReader BaseZipFileReaderType; -//#else -// #include "mmap_reader.hpp" -// typedef MmapReader BaseZipFileReaderType; -//#endif +#include "file_reader.hpp" #include "../base/exception.hpp" #include "../std/function.hpp" -class ZipFileReader : public BaseZipFileReaderType +class ZipFileReader : public FileReader { private: uint64_t m_uncompressedFileSize; |