From 134d3ac4caff6d87c79b0892e57073594cb0064c Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 9 Oct 2026 14:43:11 +0200 Subject: Remove Pointer and nil support --- boot/result.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'boot/result.cc') diff --git a/boot/result.cc b/boot/result.cc index 71326c0..10fb9fe 100644 --- a/boot/result.cc +++ b/boot/result.cc @@ -603,3 +603,10 @@ std::size_t std::hash::operator()(const elna::boot::f // -0.0 and 0.0 compare equal, so their hashes must agree. return std::hash{}(key == 0.0 ? 0.0 : key.value()); } + +std::size_t std::hash::operator()( + const elna::boot::pointer_literal& key) const noexcept +{ + return std::hash{}(key.address); +} + -- cgit v1.2.3