summaryrefslogtreecommitdiff
path: root/asl/buffer.hpp
diff options
context:
space:
mode:
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());