From 838c4b9a45a50f252c7b20d14570b0b7463709ab Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Wed, 8 Jan 2025 23:40:52 +0100 Subject: Finish work on hashing probably --- asl/buffer.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'asl/buffer.hpp') 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 + requires hashable friend H AslHashValue(H h, const buffer& b) { return H::combine_contiguous(ASL_MOVE(h), b.as_span()); -- cgit