From f69ab8b1fcc0e1cca1c1dff96e204440f1f4f7f3 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 26 Dec 2025 09:46:53 +0100 Subject: feat: update file header. Signed-off-by: Amlal El Mahrouss --- example/hash_crc32_example/example.cc | 5 +++++ example/option_example/example.cc | 7 ++++++- example/simple_allocator_op/example.cc | 5 +++++ example/smart_ptr_example/example.cc | 5 +++++ 4 files changed, 21 insertions(+), 1 deletion(-) (limited to 'example') diff --git a/example/hash_crc32_example/example.cc b/example/hash_crc32_example/example.cc index be6780f..d2f045e 100644 --- a/example/hash_crc32_example/example.cc +++ b/example/hash_crc32_example/example.cc @@ -1,3 +1,8 @@ +// Copyright 2025, Amlal El Mahrouss (amlal@nekernel.org) +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// Official repository: https://github.com/ocl-org/core + #include #include #include diff --git a/example/option_example/example.cc b/example/option_example/example.cc index c784dec..b2c3f95 100644 --- a/example/option_example/example.cc +++ b/example/option_example/example.cc @@ -1,3 +1,8 @@ +// Copyright 2025, Amlal El Mahrouss (amlal@nekernel.org) +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// Official repository: https://github.com/ocl-org/core + #include #include #include @@ -6,7 +11,7 @@ struct invalid_callable { explicit invalid_callable() = default; void operator()(const char* reason) { - ocl::detail::throw_runtime_error(BOOST_CURRENT_LOCATION.to_string()); + ocl::detail::throw_runtime_error(); } }; diff --git a/example/simple_allocator_op/example.cc b/example/simple_allocator_op/example.cc index 433da22..f09f60f 100644 --- a/example/simple_allocator_op/example.cc +++ b/example/simple_allocator_op/example.cc @@ -1,3 +1,8 @@ +// Copyright 2025, Amlal El Mahrouss (amlal@nekernel.org) +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// Official repository: https://github.com/ocl-org/core + #include #include diff --git a/example/smart_ptr_example/example.cc b/example/smart_ptr_example/example.cc index e0f8555..abe5aaf 100644 --- a/example/smart_ptr_example/example.cc +++ b/example/smart_ptr_example/example.cc @@ -1,3 +1,8 @@ +// Copyright 2025, Amlal El Mahrouss (amlal@nekernel.org) +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// Official repository: https://github.com/ocl-org/core + #include #include #include -- cgit v1.2.3