diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-08-14 11:48:04 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-08-14 11:48:04 +0200 |
| commit | 03a97d76ba9d9c1f477ecfab54d6d94340648931 (patch) | |
| tree | 5d19b4c48a04f2fde1dd2e57b5c92b7844443d46 /Kernel | |
| parent | 39e1aded9faa6a20d2afb89244766b87571b89a1 (diff) | |
HError.cxx: Add documentation.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel')
| -rw-r--r-- | Kernel/Sources/HError.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Kernel/Sources/HError.cxx b/Kernel/Sources/HError.cxx index 0df3ea6d..e9a7ad0c 100644 --- a/Kernel/Sources/HError.cxx +++ b/Kernel/Sources/HError.cxx @@ -21,12 +21,14 @@ namespace Kernel ke_stop(RUNTIME_CHECK_BAD_BEHAVIOR); } - return false; + return true; } - Void err_bug_check_raise(void) noexcept + /// @brief Tells if we should raise a bug check not. + /// @param void + /// @return void + Void err_bug_check_raise(Void) noexcept { - if (!cRaise) - cRaise = true; + cRaise = true; } } // namespace Kernel |
