summaryrefslogtreecommitdiff
path: root/asl/buffer.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-01-08 23:40:52 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-01-08 23:40:52 +0100
commit838c4b9a45a50f252c7b20d14570b0b7463709ab (patch)
treef50b70c18236a0d3f0b93994d5b0fb8955dd58d6 /asl/buffer.hpp
parentb94a42b978251c4cdb4eb0be2a2e8d9dc8949eba (diff)
Finish work on hashing probably
Diffstat (limited to 'asl/buffer.hpp')
-rw-r--r--asl/buffer.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/asl/buffer.hpp b/asl/buffer.hpp
index 7d33c73..93f811b 100644
--- a/asl/buffer.hpp
+++ b/asl/buffer.hpp
@@ -6,6 +6,7 @@
#include "asl/memory.hpp"
#include "asl/assert.hpp"
#include "asl/span.hpp"
+#include "asl/hash.hpp"
namespace asl
{
@@ -391,6 +392,7 @@ public:
}
template<typename H>
+ requires hashable<T>
friend H AslHashValue(H h, const buffer& b)
{
return H::combine_contiguous(ASL_MOVE(h), b.as_span());