From 84cd5864e7ec6e5f9df7e5f604a2407d8b059060 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Fri, 7 Jun 2024 14:12:24 +0100 Subject: [PATCH] demo/viewer - use std::optional --- demo/viewer/layer_info_dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/viewer/layer_info_dialog.cpp b/demo/viewer/layer_info_dialog.cpp index c5c5bf4de..f64b4706f 100644 --- a/demo/viewer/layer_info_dialog.cpp +++ b/demo/viewer/layer_info_dialog.cpp @@ -51,7 +51,7 @@ layer_info_dialog::layer_info_dialog(mapnik::layer& lay, QWidget* parent) int index = 0; for (pos = ps.begin(); pos != ps.end(); ++pos) { - boost::optional result; + std::optional result; mapnik::util::apply_visitor(mapnik::value_extractor_visitor(result), pos->second); if (result) {