Merge pull request #152 from jamesscottbrown/patch-3

Delete unused definition of entry_zxy_cmp
This commit is contained in:
Brandon Liu
2023-04-04 17:21:31 +02:00
committed by GitHub

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 {
const char *what() const noexcept override {
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
#endif
#endif