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:
authorSergey Magidovich <mgsergio@mapswithme.com>2016-03-01 13:48:18 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:51:12 +0300
commit77059ed4fcf2b5dd32c7c8eb15010ff2c3677e9f (patch)
tree12eec6654ac188e525661c0c65c2740a2b8d5d71 /coding
parent57a9e0cd90cc98e3bb7afa4207b0de2aebc07b14 (diff)
Add editor config.
Diffstat (limited to 'coding')
-rw-r--r--coding/reader.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/coding/reader.hpp b/coding/reader.hpp
index f97217eaae..bfc03cc797 100644
--- a/coding/reader.hpp
+++ b/coding/reader.hpp
@@ -20,12 +20,10 @@ public:
DECLARE_EXCEPTION(SizeException, Exception);
DECLARE_EXCEPTION(ReadException, Exception);
- using TReaderPtr = unique_ptr<Reader>;
-
virtual ~Reader() {}
virtual uint64_t Size() const = 0;
virtual void Read(uint64_t pos, void * p, size_t size) const = 0;
- virtual TReaderPtr CreateSubReader(uint64_t pos, uint64_t size) const = 0;
+ virtual unique_ptr<Reader> CreateSubReader(uint64_t pos, uint64_t size) const = 0;
void ReadAsString(string & s) const;