commit | ff522c77d52cc8324ba0a505706fe5f1c5d30178 | [log] [tgz] |
---|---|---|
author | Adrian Salido <salidoa@google.com> | Mon Oct 24 17:48:52 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Mon Oct 24 17:48:52 2016 +0000 |
tree | ced3d40509524f57b5112ae1ab65017e9dbd9a16 | |
parent | 80b6062966f455d3926f5d38fa665c2f7f7fa1de [diff] | |
parent | 6862df5491c082d667d4e21b749cfc9ff779306b [diff] |
drm_hwcomposer: fix type size check for separate rects am: 6862df5491 Change-Id: I4583eaa39e7c53f67f6ded2e0c2863d49c9e8b5a
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 @@ // 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; }