summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--example/allocator_op_example/example.cpp1
-rw-r--r--example/hash_crc32_example/example.cpp3
-rw-r--r--example/option_2_example/example.cpp1
-rw-r--r--example/option_example/example.cpp1
-rw-r--r--example/smart_ptr_example/example.cpp3
-rw-r--r--include/ocl/allocator_op.hpp1
-rw-r--r--include/ocl/asio.hpp1
-rw-r--r--include/ocl/basic_hash.hpp3
-rw-r--r--include/ocl/crc_hash.hpp3
-rw-r--r--include/ocl/detail/config.hpp11
-rw-r--r--include/ocl/equiv.hpp3
-rw-r--r--include/ocl/io.hpp3
-rw-r--r--include/ocl/option.hpp1
-rw-r--r--include/ocl/print.hpp1
-rw-r--r--include/ocl/smart_ptr.hpp3
-rw-r--r--include/ocl/tracked_ptr.hpp3
-rw-r--r--test/allocator_op.test.cpp1
-rw-r--r--test/option.test.cpp1
18 files changed, 30 insertions, 14 deletions
diff --git a/example/allocator_op_example/example.cpp b/example/allocator_op_example/example.cpp
index ca192ff..7c521fd 100644
--- a/example/allocator_op_example/example.cpp
+++ b/example/allocator_op_example/example.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2025-2026, 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)
diff --git a/example/hash_crc32_example/example.cpp b/example/hash_crc32_example/example.cpp
index 26d046b..e70feff 100644
--- a/example/hash_crc32_example/example.cpp
+++ b/example/hash_crc32_example/example.cpp
@@ -1,4 +1,5 @@
-// Copyright 2025, Amlal El Mahrouss (amlal@nekernel.org)
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, 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-foss-org/core
diff --git a/example/option_2_example/example.cpp b/example/option_2_example/example.cpp
index 0ac6dbd..731b9fc 100644
--- a/example/option_2_example/example.cpp
+++ b/example/option_2_example/example.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2025-2026, 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)
diff --git a/example/option_example/example.cpp b/example/option_example/example.cpp
index a87ace6..f3be137 100644
--- a/example/option_example/example.cpp
+++ b/example/option_example/example.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2025-2026, 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)
diff --git a/example/smart_ptr_example/example.cpp b/example/smart_ptr_example/example.cpp
index b5b6ad3..1e93f35 100644
--- a/example/smart_ptr_example/example.cpp
+++ b/example/smart_ptr_example/example.cpp
@@ -1,4 +1,5 @@
-// Copyright 2025, Amlal El Mahrouss (amlal@nekernel.org)
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, 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-foss-org/core
diff --git a/include/ocl/allocator_op.hpp b/include/ocl/allocator_op.hpp
index 84a949a..eb700e1 100644
--- a/include/ocl/allocator_op.hpp
+++ b/include/ocl/allocator_op.hpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2025-2026, 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)
diff --git a/include/ocl/asio.hpp b/include/ocl/asio.hpp
index bcab94f..a4c504b 100644
--- a/include/ocl/asio.hpp
+++ b/include/ocl/asio.hpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2026, 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)
diff --git a/include/ocl/basic_hash.hpp b/include/ocl/basic_hash.hpp
index e90198d..1e58a5b 100644
--- a/include/ocl/basic_hash.hpp
+++ b/include/ocl/basic_hash.hpp
@@ -1,4 +1,5 @@
-// Copyright 2023-2025, Amlal El Mahrouss (amlal@nekernel.org)
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, 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-foss-org/core
diff --git a/include/ocl/crc_hash.hpp b/include/ocl/crc_hash.hpp
index 11a9ed7..e36ee1b 100644
--- a/include/ocl/crc_hash.hpp
+++ b/include/ocl/crc_hash.hpp
@@ -1,4 +1,5 @@
-// Copyright 2025, Amlal El Mahrouss (amlal@nekernel.org)
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, 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-foss-org/core
diff --git a/include/ocl/detail/config.hpp b/include/ocl/detail/config.hpp
index eacb56a..140182f 100644
--- a/include/ocl/detail/config.hpp
+++ b/include/ocl/detail/config.hpp
@@ -1,9 +1,8 @@
-/*
- * File: detail/config.hpp
- * Purpose: Config file of the OCL.CORE library.
- * Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License.
- */
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, 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-foss-org/core
#ifndef OCL_CORE_CONFIG
#define OCL_CORE_CONFIG
diff --git a/include/ocl/equiv.hpp b/include/ocl/equiv.hpp
index 53299dc..bcdc89d 100644
--- a/include/ocl/equiv.hpp
+++ b/include/ocl/equiv.hpp
@@ -1,4 +1,5 @@
-// Copyright 2023-2025, Amlal El Mahrouss (amlal@nekernel.org)
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, 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-foss-org/core
diff --git a/include/ocl/io.hpp b/include/ocl/io.hpp
index 7867499..f4992e6 100644
--- a/include/ocl/io.hpp
+++ b/include/ocl/io.hpp
@@ -1,4 +1,5 @@
-// Copyright 2025, Amlal El Mahrouss (amlal@nekernel.org)
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, 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-foss-org/core
diff --git a/include/ocl/option.hpp b/include/ocl/option.hpp
index 74300a3..0bf8ea0 100644
--- a/include/ocl/option.hpp
+++ b/include/ocl/option.hpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2025-2026, 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)
diff --git a/include/ocl/print.hpp b/include/ocl/print.hpp
index 4ad5ee2..65bbeda 100644
--- a/include/ocl/print.hpp
+++ b/include/ocl/print.hpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2025-2026, 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)
diff --git a/include/ocl/smart_ptr.hpp b/include/ocl/smart_ptr.hpp
index 5ab6dba..ad0696f 100644
--- a/include/ocl/smart_ptr.hpp
+++ b/include/ocl/smart_ptr.hpp
@@ -1,4 +1,5 @@
-// Copyright 2025, Amlal El Mahrouss (amlal@nekernel.org)
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, 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-foss-org/core
diff --git a/include/ocl/tracked_ptr.hpp b/include/ocl/tracked_ptr.hpp
index cebe9de..68d0531 100644
--- a/include/ocl/tracked_ptr.hpp
+++ b/include/ocl/tracked_ptr.hpp
@@ -1,4 +1,5 @@
-// Copyright 2025, Amlal El Mahrouss (amlal@nekernel.org)
+// SPDX-License-Identifier: BSL-1.0
+// Copyright 2025-2026, 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-foss-org/core
diff --git a/test/allocator_op.test.cpp b/test/allocator_op.test.cpp
index 9ceed59..0982dcd 100644
--- a/test/allocator_op.test.cpp
+++ b/test/allocator_op.test.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2025-2026, 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)
diff --git a/test/option.test.cpp b/test/option.test.cpp
index 41db781..18e8cbb 100644
--- a/test/option.test.cpp
+++ b/test/option.test.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: BSL-1.0
// Copyright 2025-2026, 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)