summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2001-08-12 05:21:58 +0000
committerSteve Huston <shuston@riverace.com>2001-08-12 05:21:58 +0000
commit20cec83f2c11a1c2ff31d0cc759ca8226fb04768 (patch)
treebe4459f9ad4e7d20af8ee50ea611ac9af3c813a9
parent2ef1879f871c7d2583f927270570bc0f3012059c (diff)
downloadATCD-20cec83f2c11a1c2ff31d0cc759ca8226fb04768.tar.gz
ChangeLogTag:Sun Aug 12 00:34:42 2001 Steve Huston <shuston@riverace.com>
-rw-r--r--ChangeLog8
-rw-r--r--ChangeLogs/ChangeLog-02a8
-rw-r--r--ChangeLogs/ChangeLog-03a8
-rw-r--r--ace/Log_Record.h2
-rw-r--r--ace/Log_Record.i4
5 files changed, 27 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c790c719071..5a103c92302 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Sun Aug 12 00:34:42 2001 Steve Huston <shuston@riverace.com>
+
+ * ace/Log_Record.h:
+ * ace/Log_Record.i (msg_data()): Changed ACE_TCHAR *msg_data()
+ to: const ACE_TCHAR *msg_data (void) const. Makes it safer,
+ and conforms to all current usage inside ACE. Also makes
+ C++ Network Programming examples simpler :-)
+
Fri Aug 10 19:39:48 2001 Krishnakumar B <kitty@cs.wustl.edu>
* bin/auto_run_tests.lst:
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index c790c719071..5a103c92302 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,11 @@
+Sun Aug 12 00:34:42 2001 Steve Huston <shuston@riverace.com>
+
+ * ace/Log_Record.h:
+ * ace/Log_Record.i (msg_data()): Changed ACE_TCHAR *msg_data()
+ to: const ACE_TCHAR *msg_data (void) const. Makes it safer,
+ and conforms to all current usage inside ACE. Also makes
+ C++ Network Programming examples simpler :-)
+
Fri Aug 10 19:39:48 2001 Krishnakumar B <kitty@cs.wustl.edu>
* bin/auto_run_tests.lst:
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index c790c719071..5a103c92302 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,11 @@
+Sun Aug 12 00:34:42 2001 Steve Huston <shuston@riverace.com>
+
+ * ace/Log_Record.h:
+ * ace/Log_Record.i (msg_data()): Changed ACE_TCHAR *msg_data()
+ to: const ACE_TCHAR *msg_data (void) const. Makes it safer,
+ and conforms to all current usage inside ACE. Also makes
+ C++ Network Programming examples simpler :-)
+
Fri Aug 10 19:39:48 2001 Krishnakumar B <kitty@cs.wustl.edu>
* bin/auto_run_tests.lst:
diff --git a/ace/Log_Record.h b/ace/Log_Record.h
index 3cce345479c..38585c52f00 100644
--- a/ace/Log_Record.h
+++ b/ace/Log_Record.h
@@ -150,7 +150,7 @@ public:
void pid (long);
/// Get the message data of the <Log_Record>.
- ACE_TCHAR *msg_data (void);
+ const ACE_TCHAR *msg_data (void) const;
/// Set the message data of the <Log_Record>.
void msg_data (const ACE_TCHAR *data);
diff --git a/ace/Log_Record.i b/ace/Log_Record.i
index 48280b9644a..a5ecf5c62bf 100644
--- a/ace/Log_Record.i
+++ b/ace/Log_Record.i
@@ -92,8 +92,8 @@ ACE_Log_Record::pid (long p)
this->pid_ = (ACE_UINT32) p;
}
-ASYS_INLINE ACE_TCHAR *
-ACE_Log_Record::msg_data (void)
+ASYS_INLINE const ACE_TCHAR *
+ACE_Log_Record::msg_data (void) const
{
ACE_TRACE ("ACE_Log_Record::msg_data");
return this->msg_data_;