Fix build. The deep version did use the CompareData of course.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28184 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -261,7 +261,7 @@ BMessage::HasSameData(const BMessage &other, bool ignoreFieldOrder,
|
|||||||
BMessage message, otherMessage;
|
BMessage message, otherMessage;
|
||||||
if (message.Unflatten((const char *)data) == B_OK
|
if (message.Unflatten((const char *)data) == B_OK
|
||||||
&& otherMessage.Unflatten((const char *)otherData) == B_OK) {
|
&& otherMessage.Unflatten((const char *)otherData) == B_OK) {
|
||||||
if (!message.CompareData(ignoreFieldOrder, deep))
|
if (!message.HasSameData(ignoreFieldOrder, deep))
|
||||||
return false;
|
return false;
|
||||||
needsMemCompare = false;
|
needsMemCompare = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user