summaryrefslogtreecommitdiff
path: root/ACE/ace/Log_Msg_NT_Event_Log.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2022-01-13 10:28:36 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2022-01-13 10:28:36 +0100
commitab0b550403f711d725405afdd04475107b8f3bd2 (patch)
treed658063c77cea1da5b324b4c04691b1aa6310868 /ACE/ace/Log_Msg_NT_Event_Log.h
parent61da3abdcfc16295ed34ab552b35dce4f2b78bad (diff)
downloadATCD-ab0b550403f711d725405afdd04475107b8f3bd2.tar.gz
Make use of C++ default/override
Diffstat (limited to 'ACE/ace/Log_Msg_NT_Event_Log.h')
-rw-r--r--ACE/ace/Log_Msg_NT_Event_Log.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ACE/ace/Log_Msg_NT_Event_Log.h b/ACE/ace/Log_Msg_NT_Event_Log.h
index d234923a54b..a91fbab4457 100644
--- a/ACE/ace/Log_Msg_NT_Event_Log.h
+++ b/ACE/ace/Log_Msg_NT_Event_Log.h
@@ -34,10 +34,10 @@ class ACE_Export ACE_Log_Msg_NT_Event_Log : public ACE_Log_Msg_Backend
{
public:
/// Constructor
- ACE_Log_Msg_NT_Event_Log (void);
+ ACE_Log_Msg_NT_Event_Log () = default;
/// Destructor
- virtual ~ACE_Log_Msg_NT_Event_Log (void);
+ ~ACE_Log_Msg_NT_Event_Log () override;
/// Open a new event log.
/**
@@ -47,19 +47,19 @@ public:
* 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 (void);
+ int reset (void) override;
/// Close the backend completely.
- virtual int close (void);
+ int close (void) 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:
- HANDLE evlog_handle_;
+ HANDLE evlog_handle_ {0};
};
ACE_END_VERSIONED_NAMESPACE_DECL