]> git.lttng.org Git - lttng-tools.git/commit
sessiond: allocate ltt_session using `new`
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 14 Sep 2024 14:06:38 +0000 (10:06 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 31 Oct 2024 20:39:35 +0000 (20:39 +0000)
commitd587b69e2b093982ff547804f7dd3e7c039947e6
tree0f9105089c6c741fd19e906fa71491969ea686bf
parent6f0c56fac825ab70695727a40aa349b7cf5324b6
sessiond: allocate ltt_session using `new`

In order to make a follow-up change which adds non-POD members to
ltt_session, allocate it using the `new operator which causes
ltt_session's constructor to run.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ifd1fa8dc3e7a8cd3862985e1d30c5f032d0d4a8b
src/bin/lttng-sessiond/session.cpp
src/bin/lttng-sessiond/session.hpp
This page took 0.028765 seconds and 4 git commands to generate.