diff options
Diffstat (limited to 'src/libutil/archive.cc')
-rw-r--r-- | src/libutil/archive.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/archive.cc b/src/libutil/archive.cc index 268a798d9..ce10a35ae 100644 --- a/src/libutil/archive.cc +++ b/src/libutil/archive.cc @@ -161,7 +161,7 @@ static void parseContents(ParseSink & sink, Source & source, const Path & path) sink.preallocateContents(size); uint64_t left = size; - std::vector<char> buf(65536); + std::array<char, 65536> buf; while (left) { checkInterrupt(); |