summaryrefslogtreecommitdiffhomepage
path: root/hash
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-06-09 09:35:09 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-06-09 09:38:58 +0200
commitdbf2936b4af330589aee9782e435ad5dd908a047 (patch)
tree43c5f221b4292f88325950a5723b444482884f21 /hash
parent83e6715e39f9496b3043df70b1545e0a6284619f (diff)
cmake, hash: enable avx2 in debug mode for testing
Diffstat (limited to 'hash')
-rw-r--r--hash/xxhash.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/hash/xxhash.cpp b/hash/xxhash.cpp
index c720465e..c5ece41b 100644
--- a/hash/xxhash.cpp
+++ b/hash/xxhash.cpp
@@ -19,7 +19,6 @@ CORRADE_ALWAYS_INLINE size_t do_xxhash(const void* __restrict buf, size_t size)
{
#ifdef __AVX2__
return XXH3_64bits(buf, size);
-#error "foo avx"
#elif __SSE2__
return (size_t)XXH3_64bits(buf, size);
#else