mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 11:05:08 -05:00
fix wrong type in Task::chain impl
This commit is contained in:
parent
6679a690a2
commit
22a11b96e2
1 changed files with 1 additions and 1 deletions
|
@ -817,7 +817,7 @@ namespace geode {
|
||||||
// make the second event listener that waits for the mapper's task
|
// make the second event listener that waits for the mapper's task
|
||||||
// and just forwards everything through
|
// and just forwards everything through
|
||||||
static_cast<void*>(new EventListener<NewTask>(
|
static_cast<void*>(new EventListener<NewTask>(
|
||||||
[handle](Event* event) mutable {
|
[handle](typename NewTask::Event* event) mutable {
|
||||||
if (auto v = event->getValue()) {
|
if (auto v = event->getValue()) {
|
||||||
NewTask::finish(handle.lock(), std::move(*v));
|
NewTask::finish(handle.lock(), std::move(*v));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue