summaryrefslogtreecommitdiffhomepage
path: root/src/chunk-region.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chunk-region.cpp')
-rw-r--r--src/chunk-region.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chunk-region.cpp b/src/chunk-region.cpp
index a787b79b..3c5a8746 100644
--- a/src/chunk-region.cpp
+++ b/src/chunk-region.cpp
@@ -132,12 +132,12 @@ auto default_region_predicate(chunk& c) noexcept
} // namespace
-auto chunk::make_pass_region(bool debug, ArrayView<Vector2i> positions) -> pass_region
+auto chunk::make_pass_region(bool debug, ArrayView<const Vector2i> positions) -> pass_region
{
return make_pass_region(default_region_predicate(*this), debug, positions);
}
-auto chunk::make_pass_region(const pred& f, bool debug, ArrayView<Vector2i> positions) -> pass_region
+auto chunk::make_pass_region(const pred& f, bool debug, ArrayView<const Vector2i> positions) -> pass_region
{
Timeline timeline;
timeline.start();