summaryrefslogtreecommitdiffhomepage
path: root/examples/hash_crc32_example
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-01 02:36:49 -0500
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-01 02:36:49 -0500
commit2a60676b145280db364bfc048bce30b1ca64fa1e (patch)
tree3a48c80f984512ddf185e04150937ae434fda5de /examples/hash_crc32_example
parent3603b96c3cda0296fc64a591c375d007554bc579 (diff)
chore: source level patches of examples, library cleanup, and crc improvements.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'examples/hash_crc32_example')
-rw-r--r--examples/hash_crc32_example/example.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/hash_crc32_example/example.cc b/examples/hash_crc32_example/example.cc
index 3f635de..dc4b3e3 100644
--- a/examples/hash_crc32_example/example.cc
+++ b/examples/hash_crc32_example/example.cc
@@ -1,11 +1,11 @@
-#include <hashing/hash.hpp>
+#include <hashing/crc_hash.hpp>
#include <io/print.hpp>
int main(int argc, char** argv)
{
if (argc != 2) return 1;
- std::hash<ocl::hash_trait> hash{};
+ std::hash<ocl::crc_hash_trait> hash{};
ocl::io::print(hash(argv[1]));
return 0;