diff options
author | Yuri Gorshenin <y@maps.me> | 2015-09-15 11:12:32 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 03:05:17 +0300 |
commit | fb7b1382a8783c863e58bacb31ada0032e9661c2 (patch) | |
tree | 703713b91549f3e375b10d2d409d46df50f6cf36 /indexer/index.hpp | |
parent | b2fd03c0877ac34ebe54cc256eb809a5fd289478 (diff) |
[indexer] Fixed memory leaks related to MwmValues.
Diffstat (limited to 'indexer/index.hpp')
-rw-r--r-- | indexer/index.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/index.hpp b/indexer/index.hpp index c2664b57da..44057132dd 100644 --- a/indexer/index.hpp +++ b/indexer/index.hpp @@ -48,9 +48,9 @@ class Index : public MwmSet protected: /// @name MwmSet overrides. //@{ - MwmInfoEx * CreateInfo(platform::LocalCountryFile const & localFile) const override; + unique_ptr<MwmInfo> CreateInfo(platform::LocalCountryFile const & localFile) const override; - MwmValue * CreateValue(MwmInfo & info) const override; + unique_ptr<MwmValueBase> CreateValue(MwmInfo & info) const override; void OnMwmDeregistered(platform::LocalCountryFile const & localFile) override; //@} |