Delete unused definition of entry_zxy_cmp

This commit is contained in:
James Scott-Brown
2023-04-04 13:43:24 +01:00
committed by GitHub
parent 1fa179143e
commit 2b9bf89c10

View File

@@ -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