From 267fa4d85f741fbd37fe682cefb31d158e068f6c Mon Sep 17 00:00:00 2001 From: Susan Date: Fri, 14 Feb 2025 16:03:37 +0000 Subject: [PATCH] Codechange: use std::span instead of hardcoding container --- src/tree_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tree_cmd.cpp b/src/tree_cmd.cpp index 2f6fc21ecb..e96af29282 100644 --- a/src/tree_cmd.cpp +++ b/src/tree_cmd.cpp @@ -198,7 +198,7 @@ struct BlobHarmonic * @param harmonics Harmonics data for the polygon. * @returns A star-shaped polygon. */ -std::array CreateStarShapedPolygon(const int radius, const std::array harmonics) +std::array CreateStarShapedPolygon(const int radius, const std::span harmonics) { std::array result;