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) {