Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: ee685cac0eac9c65ac4a6e331a8bd4f7c73e73cd
https://github.com/tribe29/checkmk/commit/ee685cac0eac9c65ac4a6e331a8bd4f7c…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2021-07-06 (Tue, 06 Jul 2021)
Changed paths:
M livestatus/src/ServiceGroupMembersColumn.cc
Log Message:
-----------
Fixed wrong pointer type.
There was a confusion between a std::unique_ptr<Foo> and a Foo*.
This worked just by accident: In libstdc++, a std::unique_ptr is
implemented as a tuple of the raw pointer and the deleter.
Furthermore, the std::tuple implementation effectively removes
empty elements where possible.
The net effect for all of this is: A std::unique_ptr<Foo> and a
Foo* have an identical representation in memory for libstdc++,
but this is just an implementation detail not guaranteed by the
standard.
Change-Id: I667289df2dde5d469cee8342bb7fda3491cb1d46