Skip to content

Commit

Permalink
Merge pull request #778 from Dicebot/void-static-arr
Browse files Browse the repository at this point in the history
Turn static void array into ubyte one
  • Loading branch information
s-ludwig committed Aug 12, 2014
2 parents 11f5980 + 0f0d9c2 commit 67eaca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/vibe/core/core.d
Original file line number Diff line number Diff line change
Expand Up @@ -1141,8 +1141,8 @@ private struct ThreadContext {

private struct TaskFuncInfo {
void function(TaskFuncInfo*) func;
void[2*size_t.sizeof] callable;
void[maxTaskParameterSize] args;
void[2*size_t.sizeof] callable = void;
void[maxTaskParameterSize] args = void;
}

alias TaskArgsVariant = VariantN!maxTaskParameterSize;
Expand Down

0 comments on commit 67eaca7

Please sign in to comment.