Skip to content

Commit

Permalink
Avoid using "in" parameter to avoid linker error caused by compiler bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-ludwig committed Sep 10, 2024
1 parent 371efd8 commit 21f8b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/vibe/core/task.d
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct Task {
m_taskCounter = task_counter;
}

this(in Task other)
this(const Task other)
@safe nothrow {
m_fiber = () @trusted { return cast(shared(TaskFiber))other.m_fiber; } ();
m_taskCounter = other.m_taskCounter;
Expand Down

0 comments on commit 21f8b31

Please sign in to comment.