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:
Diffstat (limited to 'openlr/openlr_decoder.hpp')
-rw-r--r--openlr/openlr_decoder.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/openlr/openlr_decoder.hpp b/openlr/openlr_decoder.hpp
index f893217718..a50cd08247 100644
--- a/openlr/openlr_decoder.hpp
+++ b/openlr/openlr_decoder.hpp
@@ -40,7 +40,7 @@ public:
bool const m_multipointsOnly;
};
- OpenLRDecoder(std::vector<DataSource> const & dataSources,
+ OpenLRDecoder(std::vector<std::unique_ptr<DataSource>> const & dataSources,
CountryParentNameGetter const & countryParentNameGetter);
// Maps partner segments to mwm paths. |segments| should be sorted by partner id.
@@ -55,7 +55,7 @@ private:
void Decode(std::vector<LinearSegment> const & segments, uint32_t const numThreads,
std::vector<DecodedPath> & paths);
- std::vector<DataSource> const & m_dataSources;
+ std::vector<std::unique_ptr<DataSource>> const & m_dataSources;
CountryParentNameGetter m_countryParentNameGetter;
};
} // namespace openlr