# std.ArrayList: Fix compile error when \`@sizeOf\(T\) == 0\` · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/6473dc22fc1659df218ade897647c0658e0ebec9)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 6473dc22fc1659df218ade897647c0658e0ebec9

Requested commit: 6473dc22fc1659df218ade897647c0658e0ebec9

Commit: 6473dc22fc1659df218ade897647c0658e0ebec9

Tree: 8f0960e64eda1d637b4ff19c328d2a530a3d1921

Author: Nils Koch

Committer: Andrew Kelley

## Message

```
std.ArrayList: Fix compile error when `@sizeOf(T) == 0`

```

## Parents

- [f1b255402377b41e47cec65b4dbc2633e1dd7b83](https://git.cafe/gitcafe/zig/commit/f1b255402377b41e47cec65b4dbc2633e1dd7b83?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/6473dc22fc1659df218ade897647c0658e0ebec9?format=markdown)
