From c1aef2468265ca02a2e868e1b1a207e07a51d24a Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 24 Jan 2026 10:20:20 +0100 Subject: chore: update header guards. Signed-off-by: Amlal El Mahrouss --- include/ocl/allocator_op.hpp | 6 +++--- include/ocl/basic_hash.hpp | 4 ++-- include/ocl/crc_hash.hpp | 6 +++--- include/ocl/detail/config.hpp | 6 +++--- include/ocl/equiv.hpp | 4 ++-- include/ocl/io.hpp | 6 +++--- include/ocl/option.hpp | 6 +++--- include/ocl/print.hpp | 6 +++--- include/ocl/smart_ptr.hpp | 6 +++--- include/ocl/tracked_ptr.hpp | 6 +++--- 10 files changed, 28 insertions(+), 28 deletions(-) (limited to 'include') diff --git a/include/ocl/allocator_op.hpp b/include/ocl/allocator_op.hpp index d3506e0..85648ca 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_ALLOCATOR_OP -#define __OCL_CORE_ALLOCATOR_OP +#ifndef OCL_CORE_ALLOCATOR_OP +#define OCL_CORE_ALLOCATOR_OP #include #include @@ -84,4 +84,4 @@ namespace ocl } // namespace ocl -#endif // ifndef __OCL_CORE_ALLOCATOR_OP +#endif // ifndef OCL_CORE_ALLOCATOR_OP diff --git a/include/ocl/basic_hash.hpp b/include/ocl/basic_hash.hpp index 852e67d..777100e 100644 --- a/include/ocl/basic_hash.hpp +++ b/include/ocl/basic_hash.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_BASIC_HASH -#define __OCL_CORE_BASIC_HASH +#ifndef OCL_CORE_BASIC_HASH +#define OCL_CORE_BASIC_HASH #include diff --git a/include/ocl/crc_hash.hpp b/include/ocl/crc_hash.hpp index 412ec63..9af8819 100644 --- a/include/ocl/crc_hash.hpp +++ b/include/ocl/crc_hash.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_CRC_HASH -#define __OCL_CORE_CRC_HASH +#ifndef OCL_CORE_CRC_HASH +#define OCL_CORE_CRC_HASH #include #include @@ -137,4 +137,4 @@ namespace std } // namespace std -#endif // !__OCL_CORE_CRC_HASH +#endif // !OCL_CORE_CRC_HASH diff --git a/include/ocl/detail/config.hpp b/include/ocl/detail/config.hpp index 9df8597..f6d4223 100644 --- a/include/ocl/detail/config.hpp +++ b/include/ocl/detail/config.hpp @@ -5,10 +5,10 @@ * Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License. */ -#ifndef __OCL_CORE_CONFIG -#define __OCL_CORE_CONFIG +#ifndef OCL_CORE_CONFIG +#define OCL_CORE_CONFIG -#ifndef __OCL_FREESTANDING +#ifndef OCL_FREESTANDING #include #include #include diff --git a/include/ocl/equiv.hpp b/include/ocl/equiv.hpp index 7e14523..b2c65e5 100644 --- a/include/ocl/equiv.hpp +++ b/include/ocl/equiv.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_EQUIV -#define __OCL_CORE_EQUIV +#ifndef OCL_CORE_EQUIV +#define OCL_CORE_EQUIV #include diff --git a/include/ocl/io.hpp b/include/ocl/io.hpp index 6d467e0..39fbc1a 100644 --- a/include/ocl/io.hpp +++ b/include/ocl/io.hpp @@ -3,12 +3,12 @@ // 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_IO -#define __OCL_CORE_IO +#ifndef OCL_CORE_IO +#define OCL_CORE_IO #include -#ifndef __OCL_FREESTANDING +#ifndef OCL_FREESTANDING #define console_io_out std::cout #define console_io_in std::cin diff --git a/include/ocl/option.hpp b/include/ocl/option.hpp index e137302..9105f2c 100644 --- a/include/ocl/option.hpp +++ b/include/ocl/option.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_OPTION -#define __OCL_CORE_OPTION +#ifndef OCL_CORE_OPTION +#define OCL_CORE_OPTION #include #include @@ -151,4 +151,4 @@ namespace ocl } // namespace ocl -#endif /* ifndef __OCL_CORE_OPTION */ +#endif /* ifndef OCL_CORE_OPTION */ diff --git a/include/ocl/print.hpp b/include/ocl/print.hpp index 1483ed6..da0f65e 100644 --- a/include/ocl/print.hpp +++ b/include/ocl/print.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_PRINT -#define __OCL_CORE_PRINT +#ifndef OCL_CORE_PRINT +#define OCL_CORE_PRINT #include #include @@ -84,4 +84,4 @@ namespace ocl::io } // namespace ocl::io -#endif // ifndef __OCL_CORE_PRINT +#endif // ifndef OCL_CORE_PRINT diff --git a/include/ocl/smart_ptr.hpp b/include/ocl/smart_ptr.hpp index c144361..7d76f46 100644 --- a/include/ocl/smart_ptr.hpp +++ b/include/ocl/smart_ptr.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_SMART_PTR -#define __OCL_SMART_PTR +#ifndef OCL_SMART_PTR +#define OCL_SMART_PTR #include #include @@ -32,4 +32,4 @@ namespace ocl } // namespace ocl -#endif // ifndef __OCL_SMART_PTR +#endif // ifndef OCL_SMART_PTR diff --git a/include/ocl/tracked_ptr.hpp b/include/ocl/tracked_ptr.hpp index 0f32b93..8a8b25f 100644 --- a/include/ocl/tracked_ptr.hpp +++ b/include/ocl/tracked_ptr.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_TRACKED_PTR -#define __OCL_TRACKED_PTR +#ifndef OCL_TRACKED_PTR +#define OCL_TRACKED_PTR #include "boost/assert/source_location.hpp" #include @@ -238,4 +238,4 @@ namespace ocl } // namespace ocl -#endif // ifndef __OCL_TRACKED_PTR +#endif // ifndef OCL_TRACKED_PTR -- cgit v1.2.3