Module: check_mk
Branch: master
Commit: 5436295a6c4fa91d0a895df7ec9157fa18935d93
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5436295a6c4fa9…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri Nov 10 11:17:30 2017 +0100
Mechanically pushed down a few methods from VariadicFilter to AndingFilter/OringFilter.
Not all of them are correct, this commit brings them to the places where
they can be fixed.
Some signatures were tightened on the way, making it explicit that Query
sometimes abuses AndingFilter as a stack.
Change-Id: I8d8a5e63c35e6e77d302d4a1f454659f2b3feb55
---
livestatus/src/AndingFilter.cc | 31 +++++++++++++++++++++++++++++++
livestatus/src/AndingFilter.h | 6 ++++++
livestatus/src/Filter.h | 2 --
livestatus/src/OringFilter.cc | 11 +++++++++++
livestatus/src/OringFilter.h | 4 ++++
livestatus/src/Query.cc | 8 ++++----
livestatus/src/Query.h | 8 ++++----
livestatus/src/VariadicFilter.cc | 29 -----------------------------
livestatus/src/VariadicFilter.h | 12 ++----------
9 files changed, 62 insertions(+), 49 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=5436295a6c…