Clean-up: tests: utils: const_cast
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 22 Mar 2024 18:32:56 +0000 (14:32 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 22 Mar 2024 18:32:56 +0000 (14:32 -0400)
commit751d464ea3ed8ac00a3481714b0b264f2818bc4a
tree8d11a58d11f75317993a2fe951befb1758f4d6cf
parent0f4aa1a88a318046475c7caa0f72438db044d9c0
Clean-up: tests: utils: const_cast

clang-tidy warns that const_cast should not be used because of the
cppcoreguidelines-pro-type-const-cast rule.

In this case, const_cast is not strictly necessary and can be replaced
by a static_cast to silence the warning.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Iee089716e991c52686a0fdee5a7ac2aae0a30b46
tests/utils/bt2_plugins/utils.hpp
This page took 0.024222 seconds and 4 git commands to generate.