summaryrefslogtreecommitdiffhomepage
path: root/include/CompilerKit/Ref.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/Ref.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/Ref.h')
-rw-r--r--include/CompilerKit/Ref.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/CompilerKit/Ref.h b/include/CompilerKit/Ref.h
index 400f9f8..5717a3a 100644
--- a/include/CompilerKit/Ref.h
+++ b/include/CompilerKit/Ref.h
@@ -8,7 +8,8 @@
* ========================================================
*/
-#pragma once
+#ifndef NECTAR_COMPILERKIT_REF_H
+#define NECTAR_COMPILERKIT_REF_H
#include <CompilerKit/Detail/Config.h>
@@ -97,3 +98,5 @@ using StrongAny = StrongRef<VoidPtr>;
using WeakAny = WeakRef<VoidPtr>;
} // namespace CompilerKit
+#endif // NECTAR_COMPILERKIT_REF_H
+