From 08baedf6d7f434b5855a398708e5038e5fb37dd7 Mon Sep 17 00:00:00 2001 From: Tadej Novak Date: Mon, 20 May 2024 22:29:34 +0200 Subject: [PATCH] Update to the latest version of MapLibre Core (OpenGL 2 branch) (#135) --- src/core/map.cpp | 2 +- vendor/maplibre-native | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/map.cpp b/src/core/map.cpp index ddeee06..9933d0c 100644 --- a/src/core/map.cpp +++ b/src/core/map.cpp @@ -1259,7 +1259,7 @@ void Map::removeSource(const QString &id) { void Map::addCustomLayer(const QString &id, std::unique_ptr host, const QString &before) { class HostWrapper final : public mbgl::style::CustomLayerHost { public: - std::unique_ptr ptr{}; + std::unique_ptr ptr; explicit HostWrapper(std::unique_ptr p) : ptr(std::move(p)) {} diff --git a/vendor/maplibre-native b/vendor/maplibre-native index dd31976..0a4e5a4 160000 --- a/vendor/maplibre-native +++ b/vendor/maplibre-native @@ -1 +1 @@ -Subproject commit dd319761d26cd65fd63113a232cabfd4b92561ef +Subproject commit 0a4e5a4474b54a36ffbe331a0f058124b5a4783a