summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-02-14 02:38:21 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-02-14 02:38:21 +0000
commitad7141c0b26f8ab4603f5f1c113914037b36cab8 (patch)
tree96c9b24f4719613ea04aa1decf3ceb17f3e3f3c6 /ace
parent49c1bbf0b1b71024d9335437971c938570e92f68 (diff)
downloadATCD-ad7141c0b26f8ab4603f5f1c113914037b36cab8.tar.gz
*** empty log message ***
Diffstat (limited to 'ace')
-rw-r--r--ace/Log_Record.cpp2
-rw-r--r--ace/Log_Record.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/ace/Log_Record.cpp b/ace/Log_Record.cpp
index 32b0fa1ff19..a2933f679dd 100644
--- a/ace/Log_Record.cpp
+++ b/ace/Log_Record.cpp
@@ -18,7 +18,7 @@ void
ACE_Log_Record::priority (u_long p)
{
ACE_TRACE ("ACE_Log_Record::priority");
- this->type_ = ACE::log2 (p);
+ this->type_ = p;
}
void
diff --git a/ace/Log_Record.h b/ace/Log_Record.h
index e5061fe2acb..5aa0f02aa2f 100644
--- a/ace/Log_Record.h
+++ b/ace/Log_Record.h
@@ -89,8 +89,7 @@ public:
void priority (u_long num);
// Set the priority of the <Log_Record> <type_> (which must be a
- // power of 2, as defined by the enums in <ACE_Log_Priority>). This
- // <type_> is stored as the base 2 logarithm of <num>.
+ // power of 2, as defined by the enums in <ACE_Log_Priority>).
long length (void) const;
// Get the length of the <Log_Record>.