mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
Delete unused definition of entry_zxy_cmp
This commit is contained in:
committed by
GitHub
parent
1fa179143e
commit
2b9bf89c10
@@ -183,18 +183,6 @@ struct entry_zxy {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct {
|
|
||||||
bool operator()(entry_zxy a, entry_zxy b) const {
|
|
||||||
if (a.z != b.z) {
|
|
||||||
return a.z < b.z;
|
|
||||||
}
|
|
||||||
if (a.x != b.x) {
|
|
||||||
return a.x < b.x;
|
|
||||||
}
|
|
||||||
return a.y < b.y;
|
|
||||||
}
|
|
||||||
} entry_zxy_cmp;
|
|
||||||
|
|
||||||
struct varint_too_long_exception : std::exception {
|
struct varint_too_long_exception : std::exception {
|
||||||
const char *what() const noexcept override {
|
const char *what() const noexcept override {
|
||||||
return "varint too long exception";
|
return "varint too long exception";
|
||||||
@@ -590,4 +578,4 @@ inline std::pair<uint64_t, uint32_t> get_tile(const std::function<std::string(co
|
|||||||
}
|
}
|
||||||
|
|
||||||
} // namespace pmtiles
|
} // namespace pmtiles
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user