Squashed 'deps/nostalgia/' changes from 47a6a410..f624c720
f624c720 [studio] Fix broken readClaw call 204e5bbf [ox/std] Add SmallMap 1ecf197a [nostalgia] Remove .idea directory 74a8a7d7 [ox/std] Remove incomplete writeF32toa 331f7212 [olympic,nostalgia] Cleanup 63486c23 [ox] Cleanup git-subtree-dir: deps/nostalgia git-subtree-split: f624c720f9dcc9b44943269adb54d32095bc0e04
This commit is contained in:
@@ -29,9 +29,9 @@ ox::Result<T> getDragDropPayload(ox::CStringView name) noexcept {
|
||||
if (!payload) {
|
||||
return OxError(1, "No drag/drop payload");
|
||||
}
|
||||
return ox::readClaw<T>(
|
||||
return ox::readClaw<T>({
|
||||
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 {
|
||||
|
Reference in New Issue
Block a user