Skip to content

Commit

Permalink
Default Log_Msg_* dtors
Browse files Browse the repository at this point in the history
  • Loading branch information
likema committed Jul 14, 2024
1 parent 2431f5e commit 6b1faf3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 25 deletions.
9 changes: 0 additions & 9 deletions ACE/ace/Log_Msg_Backend.cpp

This file was deleted.

2 changes: 1 addition & 1 deletion ACE/ace/Log_Msg_Backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ACE_Export ACE_Log_Msg_Backend
{
public:
/// No-op virtual destructor.
virtual ~ACE_Log_Msg_Backend ();
virtual ~ACE_Log_Msg_Backend () = default;

/**
* Open the back end object. Perform any actions needed to prepare
Expand Down
9 changes: 0 additions & 9 deletions ACE/ace/Log_Msg_Callback.cpp

This file was deleted.

2 changes: 1 addition & 1 deletion ACE/ace/Log_Msg_Callback.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class ACE_Export ACE_Log_Msg_Callback
ACE_Log_Msg_Callback () = default;

/// No-op virtual destructor.
virtual ~ACE_Log_Msg_Callback ();
virtual ~ACE_Log_Msg_Callback () = default;

/// Callback routine. This is called when we want to log a message.
/// Since this routine is pure virtual, it must be overwritten by the
Expand Down
10 changes: 5 additions & 5 deletions ACE/ace/Log_Msg_UNIX_Syslog.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class ACE_Export ACE_Log_Msg_UNIX_Syslog : public ACE_Log_Msg_Backend
ACE_Log_Msg_UNIX_Syslog () = default;

/// Destructor
virtual ~ACE_Log_Msg_UNIX_Syslog ();
~ACE_Log_Msg_UNIX_Syslog () override;

/// Open a new event log.
/**
Expand All @@ -48,16 +48,16 @@ class ACE_Export ACE_Log_Msg_UNIX_Syslog : public ACE_Log_Msg_Backend
* it is 0 (no name), the application name as
* returned from ACE_Log_Msg::program_name() is used.
*/
virtual int open (const ACE_TCHAR *logger_key);
int open (const ACE_TCHAR *logger_key) override;

/// Reset the backend.
virtual int reset ();
int reset () override;

/// Close the backend completely.
virtual int close ();
int close () override;

/// This is called when we want to log a message.
virtual ssize_t log (ACE_Log_Record &log_record);
ssize_t log (ACE_Log_Record &log_record) override;

private:
/// Convert an ACE_Log_Priority value to the corresponding syslog priority.
Expand Down

0 comments on commit 6b1faf3

Please sign in to comment.