diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-11 09:10:04 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-11 09:10:04 +0100 |
| commit | 12107439786af03c0e0580250df4c4ec58d884eb (patch) | |
| tree | c4ba59fb92303f80b11304261484a93de10925f4 /include/CompilerKit/ErrorOr.h | |
| parent | 5ae6edf21e036144fe0453170c5642735f56177c (diff) | |
chore: bump boost version.
feat! StrongRef and WeakRef replaces Ref.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/CompilerKit/ErrorOr.h')
| -rw-r--r-- | include/CompilerKit/ErrorOr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/CompilerKit/ErrorOr.h b/include/CompilerKit/ErrorOr.h index db8339a..7cc418a 100644 --- a/include/CompilerKit/ErrorOr.h +++ b/include/CompilerKit/ErrorOr.h @@ -17,7 +17,7 @@ #include <CompilerKit/Detail/Config.h> #include <CompilerKit/ErrorID.h> -#include <CompilerKit/Ref.h> +#include <CompilerKit/StrongRef.h> namespace CompilerKit { using ErrorT = Int32; @@ -29,7 +29,7 @@ class ErrorOr final { ~ErrorOr() = default; public: - using RefType = Ref<T>; + using RefType = StrongRef<T>; explicit ErrorOr(ErrorT err) : mId(err) {} explicit ErrorOr(std::nullptr_t null) {} |
