forked from organicmaps/organicmaps
[generator] warning fix
This commit is contained in:
parent
e3f0f57ad2
commit
e128f31b6d
1 changed files with 2 additions and 6 deletions
|
@ -49,11 +49,9 @@ public:
|
|||
{
|
||||
public:
|
||||
GeoObjectsView(GeoIndex const & geoIndex, GeoId2GeoData const & geoId2GeoData,
|
||||
RegionInfoGetter const & regionInfoGetter, RegionIdGetter const & regionIdGetter,
|
||||
std::mutex & updateMutex)
|
||||
RegionIdGetter const & regionIdGetter, std::mutex & updateMutex)
|
||||
: m_geoIndex(geoIndex)
|
||||
, m_geoId2GeoData(geoId2GeoData)
|
||||
, m_regionInfoGetter(regionInfoGetter)
|
||||
, m_regionIdGetter(regionIdGetter)
|
||||
, m_lock(updateMutex, std::defer_lock)
|
||||
{
|
||||
|
@ -81,7 +79,6 @@ public:
|
|||
private:
|
||||
GeoIndex const & m_geoIndex;
|
||||
GeoId2GeoData const & m_geoId2GeoData;
|
||||
RegionInfoGetter const & m_regionInfoGetter;
|
||||
RegionIdGetter const & m_regionIdGetter;
|
||||
std::unique_lock<std::mutex> m_lock;
|
||||
};
|
||||
|
@ -98,8 +95,7 @@ public:
|
|||
|
||||
GeoObjectsView CreateView()
|
||||
{
|
||||
return GeoObjectsView(m_index, m_geoId2GeoData, m_regionInfoGetter, m_regionIdGetter,
|
||||
m_updateMutex);
|
||||
return GeoObjectsView(m_index, m_geoId2GeoData, m_regionIdGetter, m_updateMutex);
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Reference in a new issue