* Made Dump() const.
* Removed superfluous whitespace. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26347 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -135,7 +135,7 @@ public:
|
||||
status_t ReceiveFrom(port_id fromPort, bigtime_t timeout = -1,
|
||||
port_message_info* messageInfo = NULL);
|
||||
|
||||
void Dump(void (*printFunc)(const char*,...));
|
||||
void Dump(void (*printFunc)(const char*,...)) const;
|
||||
|
||||
private:
|
||||
friend class KMessageField;
|
||||
|
||||
@@ -601,7 +601,7 @@ KMessage::ReceiveFrom(port_id fromPort, bigtime_t timeout,
|
||||
|
||||
|
||||
void
|
||||
KMessage::Dump(void (*printFunc)(const char*,...))
|
||||
KMessage::Dump(void (*printFunc)(const char*,...)) const
|
||||
{
|
||||
Header* header = _Header();
|
||||
printFunc("KMessage: buffer: %p (size/capacity: %ld/%ld), flags: 0x0lx\n",
|
||||
|
||||
Reference in New Issue
Block a user