Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: a3f8838fed8680e0b9600763628b7638246a1097
https://github.com/tribe29/checkmk/commit/a3f8838fed8680e0b9600763628b76382…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2020-09-11 (Fri, 11 Sep 2020)
Changed paths:
M livestatus/src/Column.cc
M livestatus/src/Column.h
M livestatus/src/TableComments.cc
M livestatus/src/TableDowntimes.cc
M livestatus/src/TableEventConsoleEvents.cc
M livestatus/src/TableHostGroups.cc
M livestatus/src/TableHosts.cc
M livestatus/src/TableHostsByGroup.cc
M livestatus/src/TableLog.cc
M livestatus/src/TableServiceGroups.cc
M livestatus/src/TableServices.cc
M livestatus/src/TableServicesByGroup.cc
M livestatus/src/TableServicesByHostGroup.cc
M livestatus/src/TableStateHistory.cc
M livestatus/src/test/test_CustomVarsDictFilter.cc
Log Message:
-----------
Use lambdas for offset shifting magic instead of non-portable hacks.
This removes most uses of DANGEROUS_OFFSETOF. The rest can be removed by
replacing the OffsetFOOColumns with their lambda-based equivalents.
CMK-5194
Change-Id: I868e9cf47602c4bbe28ec4691fc87481ec3d7e85