diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-21 01:33:15 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-21 01:34:47 +0100 |
| commit | 0d88ce0e3e489db5f62f0097f9461df9ccb89913 (patch) | |
| tree | 9f649754096b0fb7bee9f9aa93985488beafb5b9 /dev/CompilerKit/ErrorOr.h | |
| parent | 56db5137ddd10f476b9820944b47ab72c6f8e019 (diff) | |
meta: Codebase improvements on CompilerKit.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/CompilerKit/ErrorOr.h')
| -rw-r--r-- | dev/CompilerKit/ErrorOr.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/CompilerKit/ErrorOr.h b/dev/CompilerKit/ErrorOr.h index 66a90ee..ac42c19 100644 --- a/dev/CompilerKit/ErrorOr.h +++ b/dev/CompilerKit/ErrorOr.h @@ -2,7 +2,7 @@ * ======================================================== * * CompilerKit - * Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under Apache 2.0. + * Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license. * * ======================================================== */ @@ -15,10 +15,10 @@ /// @brief ErrorOr for CompilerKit. /// =========================================================== /// -#include <CompilerKit/StringKit.h> #include <CompilerKit/Defines.h> #include <CompilerKit/ErrorID.h> #include <CompilerKit/Ref.h> +#include <CompilerKit/StringKit.h> namespace CompilerKit { using ErrorT = Int32; @@ -47,9 +47,9 @@ class ErrorOr final { private: Ref<T> mRef; - ErrorT mId{0}; + ErrorT mId{0}; }; -using ErrorOrAny = ErrorOr<VoidPtr>; +using ErrorOrAny = ErrorOr<VoidPtr>; using ErrorOrString = ErrorOr<STLString>; } // namespace CompilerKit |
