diff options
author | Adrian Salido <salidoa@google.com> | 2016-10-21 18:24:50 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-10-21 18:24:50 +0000 |
commit | d3542a23a704da1ab69d1832f85b6c2c0a1c4d74 (patch) | |
tree | d005d2840a6192d67f19a31efaf579c713267f4b | |
parent | 3af111cf5975e51318b8aa59f39e5d96c6bc3fbd (diff) | |
parent | ced19e30cf3d6c7314104caef34378c3d07c5169 (diff) | |
download | drm_hwcomposer-nougat-mr2-pixel-release.tar.gz |
drm_hwcomposer: fix type size check for separate rectsandroid-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1nougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-dev
am: ced19e30cf
Change-Id: I8ae37f9946d2b98c775f8e7224e2e70466c245b7
-rw-r--r-- | separate_rects.cpp | 2 |
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; } |