This commit is contained in:
Matias Saavedra Silva 2026-08-04 15:23:20 -04:00
parent b080dd924a
commit 546b2ec1dc

View File

@ -297,7 +297,6 @@ public:
// of 0x0, so we use integer arithmetic to avoid UB pointer arithmetic.
template <typename T>
static address offset_from_requested_base(T requested_base, size_t offset) {
// As zero is allowed for requested_base, use integer arithmetic to avoid UB pointer arithmetic.
return (address)((uintptr_t)requested_base + offset);
}
};