Module: check_mk
Branch: master
Commit: b8ebe2e20ab9878b1db232d0a58b77fa5d37a20d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b8ebe2e20ab987…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Oct 26 10:58:58 2015 +0100
Warning police: Fixed initializer order.
---
livestatus/src/DownCommColumn.h | 2 +-
livestatus/src/Filter.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/livestatus/src/DownCommColumn.h b/livestatus/src/DownCommColumn.h
index 7845591..4a1950e 100644
--- a/livestatus/src/DownCommColumn.h
+++ b/livestatus/src/DownCommColumn.h
@@ -40,7 +40,7 @@ class DownCommColumn : public ListColumn
bool _with_extra_info; // provides date and type
public:
DownCommColumn(string name, string description, int indirect_offset, bool
is_downtime, bool is_service, bool with_info, bool with_extra_info)
- : ListColumn(name, description, indirect_offset), _is_downtime(is_downtime),
_is_service(is_service), _with_info(with_info), _with_extra_info(with_extra_info) {}
+ : ListColumn(name, description, indirect_offset), _is_downtime(is_downtime),
_with_info(with_info), _is_service(is_service), _with_extra_info(with_extra_info) {}
int type() { return COLTYPE_LIST; }
void output(void *, Query *);
void *getNagiosObject(char *name);
diff --git a/livestatus/src/Filter.h b/livestatus/src/Filter.h
index bfcf3ec..5e9c3d4 100644
--- a/livestatus/src/Filter.h
+++ b/livestatus/src/Filter.h
@@ -46,7 +46,7 @@ protected:
void setError(unsigned code, const char *format, ...);
public:
- Filter() : _query(0), _column(0) {}
+ Filter() : _column(0), _query(0) {}
virtual ~Filter() {}
virtual bool isAndingFilter() { return false; }
virtual bool isNegatingFilter() { return false; }