From 52e1e560e76cf82314c77516e87bb2e1c5de7605 Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Tue, 20 Dec 2022 09:17:34 +0800 Subject: [PATCH] c++: fix tuple type --- cpp/pmtiles.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/pmtiles.hpp b/cpp/pmtiles.hpp index d05a45f..0dec4b7 100644 --- a/cpp/pmtiles.hpp +++ b/cpp/pmtiles.hpp @@ -555,7 +555,7 @@ inline std::vector entries_tms(const std::function get_tile(const std::function decompress, const char *pmtiles_map, uint8_t z, uint32_t x, uint32_t y) { +inline std::pair get_tile(const std::function decompress, const char *pmtiles_map, uint8_t z, uint32_t x, uint32_t y) { uint64_t tile_id = pmtiles::zxy_to_tileid(z, x, y); std::string header_s{pmtiles_map, 127};