refactor: clean-up some clang-tidy warnings

This commit is contained in:
CJ van den Berg 2024-08-27 19:25:19 +02:00
parent ee6b1276df
commit 858dcf09e0
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
6 changed files with 21 additions and 21 deletions

View file

@ -40,7 +40,7 @@ auto thespian_self() -> thespian_handle {
auto thespian_spawn_link(thespian_behaviour b, thespian_behaviour_state s,
const char *name, thespian_env env,
thespian_handle *handle) -> int {
thespian::env_t empty_env_{};
const thespian::env_t empty_env_{};
thespian::env_t env_ =
env ? *reinterpret_cast<thespian::env_t *>(env) : empty_env_; // NOLINT