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

dummy_rank_table.cpp « search - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9d54b9f220681421cf954be62e61e39873bc1b67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "search/dummy_rank_table.hpp"

#include "base/macros.hpp"

#include <limits>

namespace search
{
uint8_t DummyRankTable::Get(uint64_t /* i */) const { return 0; }

uint64_t DummyRankTable::Size() const
{
  NOTIMPLEMENTED();
  return std::numeric_limits<uint64_t>::max();
}

RankTable::Version DummyRankTable::GetVersion() const
{
  NOTIMPLEMENTED();
  return RankTable::VERSION_COUNT;
}

void DummyRankTable::Serialize(Writer & /* writer */, bool /* preserveHostEndianness */)
{
  NOTIMPLEMENTED();
}
}  // namespace search