Welcome to mirror list, hosted at ThFree Co, Russian Federation.

localities_source.hpp « search - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4f617cb08236b26af4526cc5a526dec2c2b58e64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include <cstdint>

namespace search
{
struct LocalitiesSource
{
  LocalitiesSource();

  template <typename Fn>
  void ForEachType(Fn && fn) const
  {
    fn(m_city);
    fn(m_town);
  }

  uint32_t m_city = 0;
  uint32_t m_town = 0;
};
}  // namespace search