Skip to content

Commit

Permalink
Changed from & to vector, should revert later
Browse files Browse the repository at this point in the history
  • Loading branch information
adisidev committed Aug 30, 2024
1 parent 9cfb3ca commit 773b5bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/inset_state/write_image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<Point, Vector> &vectors)

// TODO: This was the past signature of the function.
// Restoring this causes a bug. Investigate.
// const std::unordered_map<Point, Vector> &vectors)
const std::unordered_map<Point, Vector> vectors)
{
const auto svg_name = file_name + ".svg";
std::cerr << "Writing " << file_name << std::endl;
Expand Down

0 comments on commit 773b5bf

Please sign in to comment.