mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-29 10:39:49 +01:00
de5b859c0a
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1743 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
17 lines
463 B
Diff
17 lines
463 B
Diff
Index: Vector.h
|
|
===================================================================
|
|
--- Vector.h (revision 175829)
|
|
+++ Vector.h (working copy)
|
|
@@ -224,7 +224,10 @@
|
|
{
|
|
static bool compare(const T* a, const T* b, size_t size)
|
|
{
|
|
- return std::equal(a, a + size, b);
|
|
+ for (size_t i = 0; i < size; ++i)
|
|
+ if (!(a[i] == b[i]))
|
|
+ return false;
|
|
+ return true;
|
|
}
|
|
};
|
|
|