From 3355d620fe7954b8c58dfcac988fa0c1d89fa03d Mon Sep 17 00:00:00 2001 From: ckormanyos Date: Sun, 30 Jun 2024 07:44:21 +0200 Subject: [PATCH] Handle Code Sonar issues --- ref_app/src/os/os_task_control_block.h | 2 +- ref_app/src/util/utility/util_time.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ref_app/src/os/os_task_control_block.h b/ref_app/src/os/os_task_control_block.h index f6c6e8c99..7d0f2f4ec 100644 --- a/ref_app/src/os/os_task_control_block.h +++ b/ref_app/src/os/os_task_control_block.h @@ -43,7 +43,7 @@ task_control_block() = delete; - ~task_control_block() = default; + ~task_control_block() { } auto operator=(const task_control_block&) -> task_control_block& = delete; auto operator=(task_control_block&&) noexcept -> task_control_block& = delete; diff --git a/ref_app/src/util/utility/util_time.h b/ref_app/src/util/utility/util_time.h index 334a7854f..3c149e82d 100644 --- a/ref_app/src/util/utility/util_time.h +++ b/ref_app/src/util/utility/util_time.h @@ -45,7 +45,7 @@ constexpr timer(timer&& other) noexcept : my_tick(other.my_tick) { } - ~timer() noexcept = default; + ~timer() { } auto operator=(const timer& other) noexcept -> timer& {