summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/crc_hash.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-05 08:41:23 -0500
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-05 08:41:23 -0500
commit85ee44f72ee2b65656111a6749f3c6cea6ff33e4 (patch)
treeafc85021c5fb8b1e2b98f4737ceb1469a65e4278 /include/ocl/crc_hash.hpp
parentc0ff4b289a74d2ce9cb390aaceba4bd5e1d4fd0f (diff)
chore: new version of OCL.Core.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/ocl/crc_hash.hpp')
-rw-r--r--include/ocl/crc_hash.hpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/include/ocl/crc_hash.hpp b/include/ocl/crc_hash.hpp
index cbb757f..f0b155c 100644
--- a/include/ocl/crc_hash.hpp
+++ b/include/ocl/crc_hash.hpp
@@ -5,8 +5,8 @@
* Copyright 2025, Amlal El Mahrouss, Licensed under the Boost Software License.
*/
-#ifndef _OCL_CRC32_HPP
-#define _OCL_CRC32_HPP
+#ifndef __OCL_CORE_CRC_HASH
+#define __OCL_CORE_CRC_HASH
#include <ocl/detail/config.hpp>
#include <unordered_map>
@@ -111,10 +111,6 @@ namespace std
}
};
- // Source - https://stackoverflow.com/a/68521441
- // Posted by StoryTeller - Unslander Monica, modified by community. See post 'Timeline' for change history
- // Retrieved 2025-11-30, License - CC BY-SA 4.0
-
template <class Fn, class... ArgTypes>
struct is_invocable_hash : std::bool_constant <
requires(Fn fn, ArgTypes... arg_types)
@@ -124,4 +120,4 @@ namespace std
} // namespace std
-#endif // !_OCL_CRC32_HPP \ No newline at end of file
+#endif // !__OCL_CORE_CRC_HASH \ No newline at end of file