Module: check_mk
Branch: master
Commit: 573d0b60deb159ab6274046bb1a72da98b9481f9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=573d0b60deb159…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Thu Mar 1 10:05:47 2018 +0100
Win-agent: use C++17 structured bindings
TODO: complete when we upgrade to a gcc version supporting
[[maybe_unused]]
Also use auto specifier in some for loops where this was not done.
---
agents/windows/Configurable.h | 4 ++--
agents/windows/Configuration.cc | 11 +++++------
agents/windows/Environment.cc | 6 +++---
agents/windows/EventLogVista.cc | 5 ++---
agents/windows/ListenSocket.cc | 11 ++++++-----
agents/windows/OHMMonitor.h | 2 +-
agents/windows/SectionManager.cc | 14 ++++++--------
agents/windows/build_version | 2 +-
agents/windows/dynamic_func.h | 16 ++++++++--------
agents/windows/sections/SectionCheckMK.cc | 4 ++--
agents/windows/sections/SectionEventlog.cc | 21 ++++++++-------------
agents/windows/sections/SectionLogwatch.cc | 9 +++++----
agents/windows/sections/SectionMRPE.cc | 4 +---
agents/windows/sections/SectionMem.cc | 5 ++---
agents/windows/sections/SectionPerfcounter.cc | 13 ++++++-------
agents/windows/sections/SectionPluginGroup.cc | 24 ++++++++++++------------
agents/windows/sections/SectionWinperf.h | 2 +-
agents/windows/win_error.cc | 10 +++++-----
18 files changed, 76 insertions(+), 87 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=573d0b60de…