Module: check_mk
Branch: master
Commit: 590ac4ef71e158cfae6d3d3c9166150bfa30b63e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=590ac4ef71e158…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Tue Mar 27 12:06:30 2018 +0200
Clang-format Windows agent code
---
agents/windows/PerfCounterPdh.h | 2 +-
agents/windows/sections/SectionLogwatch.h | 2 +-
agents/windows/sections/SectionPluginGroup.h | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/agents/windows/PerfCounterPdh.h b/agents/windows/PerfCounterPdh.h
index fcb675e..4dd8554 100644
--- a/agents/windows/PerfCounterPdh.h
+++ b/agents/windows/PerfCounterPdh.h
@@ -39,7 +39,7 @@
#include <utility>
#include <vector>
-using StringList = std::vector<std::wstring>;;
+using StringList = std::vector<std::wstring>;
class PerfCounterQuery {
HQUERY _query;
diff --git a/agents/windows/sections/SectionLogwatch.h
b/agents/windows/sections/SectionLogwatch.h
index a692710..075d188 100644
--- a/agents/windows/sections/SectionLogwatch.h
+++ b/agents/windows/sections/SectionLogwatch.h
@@ -158,7 +158,7 @@ class GlobListConfigurable
: public ListConfigurable<GlobListT, BlockMode::Nop<GlobListT>,
AddMode::PriorityAppendGrouped<GlobListT>> {
using SuperT = ListConfigurable<GlobListT, BlockMode::Nop<GlobListT>,
- AddMode::PriorityAppendGrouped<GlobListT>>;
+ AddMode::PriorityAppendGrouped<GlobListT>>;
public:
GlobListConfigurable(Configuration &config, const char *section,
diff --git a/agents/windows/sections/SectionPluginGroup.h
b/agents/windows/sections/SectionPluginGroup.h
index fcc8906..9d79547 100644
--- a/agents/windows/sections/SectionPluginGroup.h
+++ b/agents/windows/sections/SectionPluginGroup.h
@@ -144,7 +144,8 @@ class SectionPluginGroup : public Section {
#endif // _WIN32 || _WIN64
DataCollectionThread(LPVOID lpParam);
- using containers_t = std::map<std::string,
std::shared_ptr<script_container>>;
+ using containers_t =
+ std::map<std::string, std::shared_ptr<script_container>>;
static const int DEFAULT_PLUGIN_TIMEOUT = 60;
static const int DEFAULT_LOCAL_TIMEOUT = 60;