Clean-up: coding style fix and missing method in lttng::ctl::error
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 28 Feb 2023 17:44:55 +0000 (12:44 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 28 Feb 2023 17:44:55 +0000 (12:44 -0500)
commit20f5a9aeb6d1128823cc87023e1dada534baa1af
tree53e45a0ceced6cde5f42a9252035536136851207
parent5ba02fffe2521809056a0ed611553823e2c7ad11
Clean-up: coding style fix and missing method in lttng::ctl::error

Methods must not contain get/set for trivial accessors. get_code() is
renamed to code() to follow this guideline.

Moreover, the method was not implemented. It is marked as noexcept and
the _error_code member is made `const` as there is no reason for it to
be mutated.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: If0fca5cc91c1cb72fff183ee6d29588ff4b5c030
src/common/exception.hpp
This page took 0.026033 seconds and 4 git commands to generate.