From 773b5bf68e4d3337d16042788cbb158977965a18 Mon Sep 17 00:00:00 2001 From: adisidev <64905594+adisidev@users.noreply.github.com> Date: Fri, 30 Aug 2024 17:55:53 +0800 Subject: [PATCH] Changed from & to vector, should revert later --- src/inset_state/write_image.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/inset_state/write_image.cpp b/src/inset_state/write_image.cpp index e50ba59b..1a9bcf05 100644 --- a/src/inset_state/write_image.cpp +++ b/src/inset_state/write_image.cpp @@ -382,7 +382,11 @@ void InsetState::write_cairo_polygons_to_svg( void InsetState::write_cairo_map( const std::string &file_name, const bool plot_grid, - const std::unordered_map &vectors) + + // TODO: This was the past signature of the function. + // Restoring this causes a bug. Investigate. + // const std::unordered_map &vectors) + const std::unordered_map vectors) { const auto svg_name = file_name + ".svg"; std::cerr << "Writing " << file_name << std::endl;