diff options
Diffstat (limited to 'chrome/common/stl_util-inl.h')
-rw-r--r-- | chrome/common/stl_util-inl.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/common/stl_util-inl.h b/chrome/common/stl_util-inl.h index 7c4983a..f13de2b 100644 --- a/chrome/common/stl_util-inl.h +++ b/chrome/common/stl_util-inl.h @@ -196,8 +196,12 @@ inline bool HashSetEquality(const HashSet& set_a, const HashSet& set_b) { if (set_a.size() != set_b.size()) return false; - for (typename HashSet::const_iterator i = set_a.begin(); i != set_a.end(); ++i) - if (set_b.find(*i) == set_b.end()) return false; + for (typename HashSet::const_iterator i = set_a.begin(); + i != set_a.end(); + ++i) { + if (set_b.find(*i) == set_b.end()) + return false; + } return true; } |