Module: check_mk
Branch: master
Commit: 9b2a59054135f59fa86547b30e4e23e4bc6ea632
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9b2a59054135f5…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Wed Jan 24 11:59:10 2018 +0100
Windows agent: remove unnecessary destructor
Default destructor will be declared and defined implicitly. Calling
std::vector::clear() in destructor is redundant.
---
agents/windows/SectionManager.h | 1 -
agents/windows/build_version | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/agents/windows/SectionManager.h b/agents/windows/SectionManager.h
index 3b5b0d3..653bf70 100644
--- a/agents/windows/SectionManager.h
+++ b/agents/windows/SectionManager.h
@@ -60,7 +60,6 @@ class SectionManager {
public:
SectionManager(Configuration &config, OnlyFromConfigurable &only_from,
Logger *logger, const WinApiAdaptor &winapi);
- ~SectionManager() { _sections.clear(); }
void emitConfigLoaded();
void loadDynamicSections();
diff --git a/agents/windows/build_version b/agents/windows/build_version
index dc3b4b1..ac7e0e6 100644
--- a/agents/windows/build_version
+++ b/agents/windows/build_version
@@ -1 +1 @@
-3076
+3078