Module: check_mk
Branch: master
Commit: 53736e92665a96a63c1161227682d4b811e21d19
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=53736e92665a96…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Wed Feb 28 16:28:05 2018 +0100
Win-agent: rely on implicit ~SectionEventlog
The destructor will be implicitly declared by the compiler.
---
agents/windows/sections/SectionEventlog.cc | 2 --
agents/windows/sections/SectionEventlog.h | 1 -
2 files changed, 3 deletions(-)
diff --git a/agents/windows/sections/SectionEventlog.cc
b/agents/windows/sections/SectionEventlog.cc
index b7150a8..1cb3a5c 100644
--- a/agents/windows/sections/SectionEventlog.cc
+++ b/agents/windows/sections/SectionEventlog.cc
@@ -241,8 +241,6 @@ SectionEventlog::SectionEventlog(Configuration &config, Logger
*logger,
config.reg("logwatch", "logfile", &_config);
}
-SectionEventlog::~SectionEventlog() {}
-
void SectionEventlog::saveEventlogOffsets(const std::string &statefile) {
std::ofstream ofs(statefile);
diff --git a/agents/windows/sections/SectionEventlog.h
b/agents/windows/sections/SectionEventlog.h
index e8bc805..44ae3f6 100644
--- a/agents/windows/sections/SectionEventlog.h
+++ b/agents/windows/sections/SectionEventlog.h
@@ -97,7 +97,6 @@ class SectionEventlog : public Section {
public:
SectionEventlog(Configuration &config, Logger *logger,
const WinApiAdaptor &winapi);
- virtual ~SectionEventlog();
protected:
virtual bool produceOutputInner(std::ostream &out) override;