OSDN Git Service
(root)
/
android-x86
/
external-drm_hwcomposer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fab5ea1
)
drm_hwcomposer: fix type size check for separate rects
author
Adrian Salido
<salidoa@google.com>
Fri, 21 Oct 2016 02:35:55 +0000
(19:35 -0700)
committer
Adrian Salido
<salidoa@google.com>
Fri, 21 Oct 2016 02:49:19 +0000
(19:49 -0700)
Bug:
32218819
Change-Id: Ic8f2c5d078a5ee9a48862a8e8faca051f199b78e
Signed-off-by: Adrian Salido <salidoa@google.com>
separate_rects.cpp
patch
|
blob
|
history
diff --git
a/separate_rects.cpp
b/separate_rects.cpp
index
3d76e53
..
9fd1ae4
100644
(file)
--- 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<T
Num
>::max_elements) {
+ if (in.size() > IdSet<T
Id
>::max_elements) {
return;
}