Fix compilation on newer gcc by adding () instead of using prescendence.
Review URL: http://codereview.chromium.org/113447 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1958 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
acfc50ac12
commit
b66c1bbbf8
@ -129,8 +129,8 @@ void HashMap::Remove(void* key, uint32_t hash) {
|
||||
// If the entry at position q has its initial position outside the range
|
||||
// between p and q it can be moved forward to position p and will still be
|
||||
// found. There is now a new candidate entry for clearing.
|
||||
if (q > p && (r <= p || r > q) ||
|
||||
q < p && (r <= p && r > q)) {
|
||||
if ((q > p && (r <= p || r > q)) ||
|
||||
(q < p && (r <= p && r > q))) {
|
||||
*p = *q;
|
||||
p = q;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user