diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-20 19:39:28 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-20 19:39:28 -0500 |
| commit | c78b97d70a06f0d17e52bf4ac58d4b917789e8a6 (patch) | |
| tree | d4ab3c4e1685e7f3906bc29dd47cc130d116e190 /dev/CompilerKit/ErrorOr.h | |
| parent | 274936aa8c14c09239f771bce5b5cc5b6ae507a2 (diff) | |
| parent | b8e6e1492ed14e270b1061809b0569b8d2f4c0ec (diff) | |
Merge pull request #26 from nekernel-org/devv0.0.6
NeCTI: Update ReadMe and improve codebase.
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 |
