aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--separate_rects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/separate_rects.cpp b/separate_rects.cpp
index 3d76e53..9fd1ae4 100644
--- a/separate_rects.cpp
+++ b/separate_rects.cpp
@@ -85,7 +85,7 @@ void separate_rects(const std::vector<Rect<TNum>> &in,
// our output set of non-overlapping rectangles. Based of the algorithm found
// at: http://stackoverflow.com/a/2755498
- if (in.size() > IdSet<TNum>::max_elements) {
+ if (in.size() > IdSet<TId>::max_elements) {
return;
}