Rename BMessage::CompareData() to HasSameData() as this makes more sense for the

bool return type. Did I mention this was an unstable Haiku extension?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28181 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2008-10-16 20:45:12 +00:00
parent 49ad25b392
commit 3c6372b44a
2 changed files with 3 additions and 3 deletions

View File

@ -216,8 +216,8 @@ class BMessage {
status_t ReplaceData(const char *name, type_code type, int32 index,
const void *data, ssize_t numBytes);
// Compareing data (only) - Haiku experimental API
bool CompareData(const BMessage &other,
// Comparing data - Haiku experimental API
bool HasSameData(const BMessage &other,
bool ignoreFieldOrder = true, bool deep = false) const;
void *operator new(size_t size);

View File

@ -221,7 +221,7 @@ BMessage::operator delete(void *pointer, size_t size)
bool
BMessage::CompareData(const BMessage &other, bool ignoreFieldOrder,
BMessage::HasSameData(const BMessage &other, bool ignoreFieldOrder,
bool deep) const
{
if (this == &other)