Module: check_mk
Branch: master
Commit: 3e7dd41f6919611b7c90220d16e1350b693db1ce
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3e7dd41f691961…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Aug 16 09:07:26 2017 +0200
Filter hierarchy: Use references instead of pointers.
References can never be null in well-defined programs, so prefer them to
pointers where possible. The generated code is identical, we just express
our intentions more clearly, which is important.
Change-Id: I492089e2357aaacdcf4375b09d1c8196274be28b
---
livestatus/src/AttributeListAsIntColumn.cc | 2 +-
livestatus/src/AttributeListColumn.cc | 2 +-
livestatus/src/CustomVarsDictColumn.cc | 2 +-
livestatus/src/CustomVarsDictFilter.cc | 6 +++---
livestatus/src/CustomVarsDictFilter.h | 4 ++--
livestatus/src/CustomVarsListFilter.cc | 8 ++++----
livestatus/src/CustomVarsListFilter.h | 4 ++--
livestatus/src/CustomVarsNamesColumn.cc | 2 +-
livestatus/src/CustomVarsValuesColumn.cc | 2 +-
livestatus/src/DoubleColumn.cc | 2 +-
livestatus/src/DoubleFilter.cc | 8 ++++----
livestatus/src/DoubleFilter.h | 4 ++--
livestatus/src/HostListColumn.cc | 2 +-
livestatus/src/HostListFilter.cc | 8 ++++----
livestatus/src/HostListFilter.h | 4 ++--
livestatus/src/IntColumn.cc | 2 +-
livestatus/src/IntFilter.cc | 10 +++++-----
livestatus/src/IntFilter.h | 4 ++--
livestatus/src/ListColumn.cc | 2 +-
livestatus/src/ListFilter.cc | 10 +++++-----
livestatus/src/ListFilter.h | 4 ++--
livestatus/src/ServiceListColumn.cc | 2 +-
livestatus/src/ServiceListFilter.cc | 10 +++++-----
livestatus/src/ServiceListFilter.h | 4 ++--
livestatus/src/StringColumn.cc | 2 +-
livestatus/src/StringFilter.cc | 6 +++---
livestatus/src/StringFilter.h | 4 ++--
livestatus/src/TimeColumn.cc | 2 +-
livestatus/src/TimeFilter.h | 2 +-
29 files changed, 62 insertions(+), 62 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=3e7dd41f69…