diff --git a/src/ds/dllist.h b/src/ds/dllist.h index 4a7e9c7..915ce1b 100644 --- a/src/ds/dllist.h +++ b/src/ds/dllist.h @@ -17,7 +17,7 @@ namespace snmalloc * are always the same, invalid pointer values with different sentinels are * always different. */ - template + template constexpr bool operator==(const InvalidPointer&) { return Sentinel == OtherSentinel; @@ -27,7 +27,7 @@ namespace snmalloc * are always the same, invalid pointer values with different sentinels are * always different. */ - template + template constexpr bool operator!=(const InvalidPointer&) { return Sentinel != OtherSentinel;