summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-06-05 11:55:41 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-06-05 12:02:56 +0200
commitb84fc31d161594f6e19f890ef4f6661456536dbf (patch)
treeb36f270dfa5b1191bb180264395eb5b3f1873fc7 /test
parent142af4f233cb5eb0b17689226c586b48509f0474 (diff)
fix build
Diffstat (limited to 'test')
-rw-r--r--test/hole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hole.cpp b/test/hole.cpp
index d0a80a9c..50e9b8f0 100644
--- a/test/hole.cpp
+++ b/test/hole.cpp
@@ -6,7 +6,7 @@ namespace {
using bbox = cut_rectangle_result::bbox;
-constexpr auto cut(bbox rect, bbox hole, Vector2i offset)
+auto cut(bbox rect, bbox hole, Vector2i offset)
{
auto rectʹ = bbox { rect.position + offset, rect.bbox_size };
auto holeʹ = bbox { hole.position + offset, hole.bbox_size };