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:
parent
49ad25b392
commit
3c6372b44a
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue