[ox/std] Fix macOS build
This commit is contained in:
2
deps/ox/src/ox/std/heapmgr.cpp
vendored
2
deps/ox/src/ox/std/heapmgr.cpp
vendored
@@ -35,7 +35,7 @@ T *HeapSegment::data() {
|
||||
return ox::bit_cast<T*>(ox::bit_cast<uint8_t*>(this) + alignedSize(this));
|
||||
}
|
||||
|
||||
template<typename T = uint8_t>
|
||||
template<typename T>
|
||||
T *HeapSegment::end() {
|
||||
const auto size = alignedSize(this) + alignedSize(this->size);
|
||||
auto e = ox::bit_cast<uintptr_t>(ox::bit_cast<uint8_t*>(this) + size);
|
||||
|
||||
Reference in New Issue
Block a user