diff options
Diffstat (limited to 'ACE/ace/Log_Msg.inl')
-rw-r--r-- | ACE/ace/Log_Msg.inl | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/ACE/ace/Log_Msg.inl b/ACE/ace/Log_Msg.inl index 1062c15c6b1..bca6dc2271f 100644 --- a/ACE/ace/Log_Msg.inl +++ b/ACE/ace/Log_Msg.inl @@ -31,7 +31,7 @@ ACE_Log_Msg::op_status (int status) ACE_INLINE int -ACE_Log_Msg::op_status (void) const +ACE_Log_Msg::op_status () const { return this->status_; } @@ -45,14 +45,14 @@ ACE_Log_Msg::restart (bool r) ACE_INLINE bool -ACE_Log_Msg::restart (void) const +ACE_Log_Msg::restart () const { return this->restart_; } ACE_INLINE int -ACE_Log_Msg::errnum (void) const +ACE_Log_Msg::errnum () const { return this->errnum_; } @@ -66,7 +66,7 @@ ACE_Log_Msg::errnum (int e) ACE_INLINE int -ACE_Log_Msg::linenum (void) const +ACE_Log_Msg::linenum () const { return this->linenum_; } @@ -80,21 +80,21 @@ ACE_Log_Msg::linenum (int l) ACE_INLINE int -ACE_Log_Msg::inc (void) +ACE_Log_Msg::inc () { return this->trace_depth_++; } ACE_INLINE int -ACE_Log_Msg::dec (void) +ACE_Log_Msg::dec () { return this->trace_depth_ == 0 ? 0 : --this->trace_depth_; } ACE_INLINE int -ACE_Log_Msg::trace_depth (void) const +ACE_Log_Msg::trace_depth () const { return this->trace_depth_; } @@ -108,7 +108,7 @@ ACE_Log_Msg::trace_depth (int depth) ACE_INLINE bool -ACE_Log_Msg::trace_active (void) const +ACE_Log_Msg::trace_active () const { return this->trace_active_; } @@ -122,7 +122,7 @@ ACE_Log_Msg::trace_active (bool value) ACE_INLINE ACE_Thread_Descriptor * -ACE_Log_Msg::thr_desc (void) const +ACE_Log_Msg::thr_desc () const { return this->thr_desc_; } @@ -130,7 +130,7 @@ ACE_Log_Msg::thr_desc (void) const /// Enable the tracing facility on a per-thread basis. ACE_INLINE void -ACE_Log_Msg::start_tracing (void) +ACE_Log_Msg::start_tracing () { this->tracing_enabled_ = true; } @@ -138,21 +138,21 @@ ACE_Log_Msg::start_tracing (void) /// Disable the tracing facility on a per-thread basis. ACE_INLINE void -ACE_Log_Msg::stop_tracing (void) +ACE_Log_Msg::stop_tracing () { this->tracing_enabled_ = false; } ACE_INLINE bool -ACE_Log_Msg::tracing_enabled (void) const +ACE_Log_Msg::tracing_enabled () const { return this->tracing_enabled_; } ACE_INLINE const char * -ACE_Log_Msg::file (void) +ACE_Log_Msg::file () { return this->file_; } @@ -166,7 +166,7 @@ ACE_Log_Msg::file (const char *s) ACE_INLINE const ACE_TCHAR * -ACE_Log_Msg::msg (void) +ACE_Log_Msg::msg () { return this->msg_ + ACE_Log_Msg::msg_off_; } @@ -181,7 +181,7 @@ ACE_Log_Msg::msg (const ACE_TCHAR *m) ACE_INLINE ACE_Log_Msg_Callback * -ACE_Log_Msg::msg_callback (void) const +ACE_Log_Msg::msg_callback () const { return this->msg_callback_; } @@ -197,7 +197,7 @@ ACE_Log_Msg::msg_callback (ACE_Log_Msg_Callback *c) ACE_INLINE ACE_OSTREAM_TYPE * -ACE_Log_Msg::msg_ostream (void) const +ACE_Log_Msg::msg_ostream () const { return this->ostream_; } @@ -211,14 +211,14 @@ ACE_Log_Msg::msg_ostream (ACE_OSTREAM_TYPE *m) ACE_INLINE const ACE_TCHAR * -ACE_Log_Msg::local_host (void) const +ACE_Log_Msg::local_host () const { return ACE_Log_Msg::local_host_; } ACE_INLINE pid_t -ACE_Log_Msg::getpid (void) const +ACE_Log_Msg::getpid () const { return ACE_OS::getpid (); } |