diff options
author | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-02-28 22:33:38 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:49:24 +0300 |
commit | 4a3989ff23d90c112b50f690e7a2c2329aa54389 (patch) | |
tree | 6c4476e3d423686acbf55f180c39abb55561b929 /generator/unpack_mwm.cpp | |
parent | 78fb143a7901288395d5cc70b0aa4e0b9ff707fc (diff) |
Platform::GetReader returns unique_ptr. Fix leaks.
Diffstat (limited to 'generator/unpack_mwm.cpp')
-rw-r--r-- | generator/unpack_mwm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/unpack_mwm.cpp b/generator/unpack_mwm.cpp index 73fe20651a..7b83479837 100644 --- a/generator/unpack_mwm.cpp +++ b/generator/unpack_mwm.cpp @@ -23,7 +23,7 @@ void UnpackMwm(string const & filePath) { LOG(LINFO, ("Unpacking", tags[i])); - ReaderSource<FilesContainerR::ReaderT> reader(container.GetReader(tags[i])); + ReaderSource<FilesContainerR::TReader> reader(container.GetReader(tags[i])); FileWriter writer(filePath + "." + tags[i]); rw::ReadAndWrite(reader, writer, 1024 * 1024); |