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
diff options
context:
space:
mode:
authorYuri Gorshenin <y@maps.me>2015-09-15 11:12:32 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:05:17 +0300
commitfb7b1382a8783c863e58bacb31ada0032e9661c2 (patch)
tree703713b91549f3e375b10d2d409d46df50f6cf36 /indexer/index.hpp
parentb2fd03c0877ac34ebe54cc256eb809a5fd289478 (diff)
[indexer] Fixed memory leaks related to MwmValues.
Diffstat (limited to 'indexer/index.hpp')
-rw-r--r--indexer/index.hpp4
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;
//@}