[studio] Fix broken readClaw call
All checks were successful
Build / build (push) Successful in 2m29s
All checks were successful
Build / build (push) Successful in 2m29s
This commit is contained in:
parent
204e5bbff4
commit
f624c720f9
@ -29,9 +29,9 @@ ox::Result<T> getDragDropPayload(ox::CStringView name) noexcept {
|
|||||||
if (!payload) {
|
if (!payload) {
|
||||||
return OxError(1, "No drag/drop payload");
|
return OxError(1, "No drag/drop payload");
|
||||||
}
|
}
|
||||||
return ox::readClaw<T>(
|
return ox::readClaw<T>({
|
||||||
reinterpret_cast<char const*>(payload->Data),
|
reinterpret_cast<char const*>(payload->Data),
|
||||||
static_cast<size_t>(payload->DataSize));
|
static_cast<size_t>(payload->DataSize)});
|
||||||
}
|
}
|
||||||
|
|
||||||
ox::Error setDragDropPayload(ox::CStringView name, auto const &obj) noexcept {
|
ox::Error setDragDropPayload(ox::CStringView name, auto const &obj) noexcept {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user