summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-24 23:34:39 -0500
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-25 00:04:08 -0500
commit52399b9b2fe46e29c5ee265baf8cb7f1717a4c53 (patch)
tree12c034291fd9d721b1eb9b8c16bcc65285936fe8 /include
parentb189449b28625cec7b6ce399f999072e50efae45 (diff)
feat: update comment to reflect purpose of tracked_ptr correctly.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/ocl/core/error_handler.hpp4
-rw-r--r--include/ocl/memory/tracked_ptr.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/ocl/core/error_handler.hpp b/include/ocl/core/error_handler.hpp
index 717b522..a09f450 100644
--- a/include/ocl/core/error_handler.hpp
+++ b/include/ocl/core/error_handler.hpp
@@ -20,8 +20,8 @@ namespace ocl
explicit basic_error_handler() = default;
virtual ~basic_error_handler() = default;
- basic_error_handler& operator=(const basic_error_handler&) = delete;
- basic_error_handler(const basic_error_handler&) = delete;
+ basic_error_handler& operator=(const basic_error_handler&) = default;
+ basic_error_handler(const basic_error_handler&) = default;
template <bool throw_too = false>
void error(const std::basic_string<char>& msg)
diff --git a/include/ocl/memory/tracked_ptr.hpp b/include/ocl/memory/tracked_ptr.hpp
index fcaf898..029e424 100644
--- a/include/ocl/memory/tracked_ptr.hpp
+++ b/include/ocl/memory/tracked_ptr.hpp
@@ -1,6 +1,6 @@
/*
* File: memory/tracked_ptr.hpp
- * Purpose: Custom smart pointer implementation in C++
+ * Purpose: Strict pointer type implementation in C++
* Author: Amlal El Mahrouss (amlal@nekernel.org)
* Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License.
*/