summaryrefslogtreecommitdiffhomepage
path: root/test/hole.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/hole.cpp')
-rw-r--r--test/hole.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hole.cpp b/test/hole.cpp
index 8bfb8c8a..7ccc86c3 100644
--- a/test/hole.cpp
+++ b/test/hole.cpp
@@ -4,13 +4,13 @@
namespace floormat {
namespace {
-using bbox = cut_rectangle_result<Int>::bbox;
+using bbox = CutResult<Int>::bbox;
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 };
- return cut_rectangle_result<Int>::cut(rectʹ, holeʹ).size;
+ return CutResult<Int>::cut(rectʹ, holeʹ).size;
}
void test1(Vector2i offset)