[ox/preloader] Add missing typenames
This commit is contained in:
parent
6d2a20e8bd
commit
77c86b9516
2
deps/ox/src/ox/preloader/preloader.hpp
vendored
2
deps/ox/src/ox/preloader/preloader.hpp
vendored
@ -247,7 +247,7 @@ constexpr ox::Error Preloader<PlatSpec>::field(CRStringView, const T **val, std:
|
||||
template<typename PlatSpec>
|
||||
constexpr ox::Result<std::size_t> Preloader<PlatSpec>::startAlloc(std::size_t sz) noexcept {
|
||||
oxRequire(a, ox::allocate(&m_writer, sz));
|
||||
m_allocStack.emplace_back(static_cast<PlatSpec::PtrType>(m_writer.tellp()));
|
||||
m_allocStack.emplace_back(static_cast<typename PlatSpec::PtrType>(m_writer.tellp()));
|
||||
oxReturnError(m_writer.seekp(a));
|
||||
return a;
|
||||
}
|
||||
|
2
deps/ox/src/ox/preloader/sizecatcher.hpp
vendored
2
deps/ox/src/ox/preloader/sizecatcher.hpp
vendored
@ -107,7 +107,7 @@ constexpr std::size_t sizeOf(const T *t) noexcept {
|
||||
if constexpr(ox::is_integral_v<T>) {
|
||||
return sizeof(T);
|
||||
} else if constexpr(ox::is_pointer_v<T>) {
|
||||
return sizeof(PlatSpec::PtrType);
|
||||
return sizeof(typename PlatSpec::PtrType);
|
||||
} else {
|
||||
SizeCatcher<PlatSpec> sc;
|
||||
const auto err = model(sc.interface(), t);
|
||||
|
Loading…
Reference in New Issue
Block a user