summaryrefslogtreecommitdiff
path: root/include/mbgl/platform/default/headless_view.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/platform/default/headless_view.hpp')
-rw-r--r--include/mbgl/platform/default/headless_view.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/platform/default/headless_view.hpp b/include/mbgl/platform/default/headless_view.hpp
index c0baddb884..f140338349 100644
--- a/include/mbgl/platform/default/headless_view.hpp
+++ b/include/mbgl/platform/default/headless_view.hpp
@@ -27,7 +27,7 @@ public:
void createContext();
void resize(uint16_t width, uint16_t height, float pixelRatio);
- const std::unique_ptr<uint32_t[]> readPixels();
+ std::unique_ptr<uint32_t[]> readPixels();
void notify();
void notify_map_change(MapChange change, timestamp delay = 0);