diff options
Diffstat (limited to 'ace')
-rw-r--r-- | ace/Log_Record.cpp | 2 | ||||
-rw-r--r-- | ace/Log_Record.h | 3 |
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>. |