Clean-up: sessiond: use empty() instead of comparing size to 0
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 12 Mar 2024 19:57:31 +0000 (15:57 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 12 Mar 2024 19:57:31 +0000 (15:57 -0400)
commit20c4b46aee1a984bc558b483826c1078f24d35e9
treecf4f1ee201fa106d69fbfa1d92cbb9e1a8f5e200
parentd83ba9baef029eedf530d272d95487e9c59d4226
Clean-up: sessiond: use empty() instead of comparing size to 0

Harmonize the project's coding style a little by favoring the use of the
'empty()' methood of containers rather than comparing their size to 0.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I22e6b7fe4d94d8f43362fe119b4ca6d480587291
src/bin/lttng-sessiond/ctf2-trace-class-visitor.cpp
src/bin/lttng-sessiond/tsdl-trace-class-visitor.cpp
This page took 0.026199 seconds and 4 git commands to generate.