From 5c1c26b135ed1cc2fa677a580721df416f0767e3 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Fri, 4 Apr 2025 10:54:33 +0000 Subject: [PATCH] refactor(kernel): use default constructor for std::exception class Signed-off-by: EnderIce2 --- Kernel/include_std/exception | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/include_std/exception b/Kernel/include_std/exception index 8562d41e..145288e0 100644 --- a/Kernel/include_std/exception +++ b/Kernel/include_std/exception @@ -24,7 +24,7 @@ namespace std class exception { public: - exception() noexcept {} + exception() noexcept = default; exception(const exception &) noexcept = default; virtual ~exception() noexcept = default; exception &operator=(const exception &) noexcept = default;