MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / LocationKey

Class LocationKey

Telegram/SourceFiles/export/export_api_wrap.cpp:37–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35constexpr auto kProfileMusicSliceLimit = 100;
36
37struct LocationKey {
38 uint64 type;
39 uint64 id;
40
41 inline bool operator<(const LocationKey &other) const {
42 return std::tie(type, id) < std::tie(other.type, other.id);
43 }
44};
45
46LocationKey ComputeLocationKey(const Data::FileLocation &value) {
47 auto result = LocationKey();

Callers 1

ComputeLocationKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected