Skip to content

Commit

Permalink
Fix compilation errors on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kwiesmueller committed Mar 30, 2024
1 parent b3c8d71 commit 4ef43b9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/testapp/sessions/vehicles_machines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ Session setup_mach_rocket(
.sync_with ({tgParts.machIds(Ready), tgParts.machUpdExtIn(New)})
.push_to (out.m_tasks)
.args ({idScnParts, idUpdMach})
.func_raw (gen_allocate_mach<gc_mtMagicRocket>());
.func ([] (ACtxParts& rScnParts, MachineUpdater& rUpdMach)
{
rUpdMach.localDirty[gc_mtMagicRocket].ints().resize(rScnParts.machines.perType[gc_mtMagicRocket].localIds.vec().capacity());
});

return out;
} // setup_mach_rocket
Expand Down Expand Up @@ -288,7 +291,10 @@ Session setup_mach_rcsdriver(
.sync_with ({tgParts.machIds(Ready), tgParts.machUpdExtIn(New)})
.push_to (out.m_tasks)
.args ({idScnParts, idUpdMach})
.func_raw (gen_allocate_mach<gc_mtRcsDriver>());
.func ([] (ACtxParts& rScnParts, MachineUpdater& rUpdMach)
{
rUpdMach.localDirty[gc_mtRcsDriver].ints().resize(rScnParts.machines.perType[gc_mtRcsDriver].localIds.vec().capacity());
});

rBuilder.task()
.name ("RCS Drivers calculate new values")
Expand Down

0 comments on commit 4ef43b9

Please sign in to comment.