summaryrefslogtreecommitdiff
path: root/test/headless/headless.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/headless/headless.cpp')
-rw-r--r--test/headless/headless.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/headless/headless.cpp b/test/headless/headless.cpp
index a02062dbdd..8dfed0383b 100644
--- a/test/headless/headless.cpp
+++ b/test/headless/headless.cpp
@@ -152,7 +152,7 @@ TEST_P(HeadlessTest, render) {
map.setLatLngZoom(mbgl::LatLng(latitude, longitude), zoom);
map.setBearing(bearing);
- map.renderStill([&](std::unique_ptr<const StillImage> image) {
+ map.renderStill([&](std::exception_ptr, std::unique_ptr<const StillImage> image) {
const std::string png = util::compress_png(image->width, image->height, image->pixels.get());
util::write_file("test/suite/tests/" + base + "/" + name + "/actual.png", png);
promise.set_value();