summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-29 19:36:27 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-29 19:36:27 +0100
commit591f44cf59f30073e33855f474dce5f65c50731a (patch)
tree1ff281371a0d376eb37df7f088e220f2c56984cd /include
parent3df7cc4d199c263d5d9a606ddc211f4935d23e4c (diff)
feat: update header guard (allocator_op) and includes (tracked_ptr).
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/ocl/allocator_op.hpp6
-rw-r--r--include/ocl/tracked_ptr.hpp1
2 files changed, 3 insertions, 4 deletions
diff --git a/include/ocl/allocator_op.hpp b/include/ocl/allocator_op.hpp
index 954a358..d6f5a5e 100644
--- a/include/ocl/allocator_op.hpp
+++ b/include/ocl/allocator_op.hpp
@@ -3,8 +3,8 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Official repository: https://github.com/ocl-org/core
-#ifndef __OCL_CORE_ALLOC
-#define __OCL_CORE_ALLOC
+#ifndef __OCL_CORE_ALLOCATOR_OP
+#define __OCL_CORE_ALLOCATOR_OP
#include <ocl/detail/config.hpp>
#include <memory>
@@ -80,4 +80,4 @@ namespace ocl
} // namespace ocl
-#endif // ifndef __OCL_CORE_ALLOC
+#endif // ifndef __OCL_CORE_ALLOCATOR_OP
diff --git a/include/ocl/tracked_ptr.hpp b/include/ocl/tracked_ptr.hpp
index 4c1ab8f..e67d334 100644
--- a/include/ocl/tracked_ptr.hpp
+++ b/include/ocl/tracked_ptr.hpp
@@ -6,7 +6,6 @@
#ifndef __OCL_TRACKED_PTR
#define __OCL_TRACKED_PTR
-#include <exception>
#include <ocl/detail/config.hpp>
#include <atomic>
#include <stdexcept>