aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Salido <salidoa@google.com>2016-10-21 18:24:50 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-10-21 18:24:50 +0000
commitd3542a23a704da1ab69d1832f85b6c2c0a1c4d74 (patch)
treed005d2840a6192d67f19a31efaf579c713267f4b
parent3af111cf5975e51318b8aa59f39e5d96c6bc3fbd (diff)
parentced19e30cf3d6c7314104caef34378c3d07c5169 (diff)
downloaddrm_hwcomposer-nougat-mr2-pixel-release.tar.gz
am: ced19e30cf Change-Id: I8ae37f9946d2b98c775f8e7224e2e70466c245b7
-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;
}