summaryrefslogtreecommitdiffhomepage
path: root/include/CompilerKit/ErrorOr.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-26 10:10:06 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-26 10:10:06 +0100
commitd532b43153cb68d6e92c5dac58cbd3c8ab4f60af (patch)
treee748d39deee4e4c0983354ccf3fa419263368f87 /include/CompilerKit/ErrorOr.h
parentba1b968d17a1ed29694f850af58787c3eb2657d4 (diff)
feat! Use header guards instead of pragma once.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/CompilerKit/ErrorOr.h')
-rw-r--r--include/CompilerKit/ErrorOr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/CompilerKit/ErrorOr.h b/include/CompilerKit/ErrorOr.h
index 8bb1b96..7891c4e 100644
--- a/include/CompilerKit/ErrorOr.h
+++ b/include/CompilerKit/ErrorOr.h
@@ -7,7 +7,8 @@
* ========================================================
*/
-#pragma once
+#ifndef NECTAR_COMPILERKIT_ERROROR_H
+#define NECTAR_COMPILERKIT_ERROROR_H
/// =========================================================== ///
/// @file ErrorOr.h
@@ -57,3 +58,5 @@ using ErrorOrAny = ErrorOr<VoidPtr>;
using ErrorOrString = ErrorOr<STLString>;
} // namespace CompilerKit
+#endif // NECTAR_COMPILERKIT_ERROROR_H
+