Skip to content

Commit

Permalink
istream/Replace: remove unnecessary _Close() override
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Aug 12, 2023
1 parent 28b065b commit a59957c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions src/istream/ReplaceIstream.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -542,12 +542,6 @@ ReplaceIstream::_ConsumeBucketList(size_t nbytes) noexcept
return {total, IsEOF()};
}

void
ReplaceIstream::_Close() noexcept
{
Destroy();
}

void
ReplaceIstream::Add(off_t start, off_t end,
UnusedIstreamPtr contents) noexcept
Expand Down
1 change: 0 additions & 1 deletion src/istream/ReplaceIstream.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -271,5 +271,4 @@ public:
void _Read() noexcept override;
void _FillBucketList(IstreamBucketList &list) override;
ConsumeBucketResult _ConsumeBucketList(size_t nbytes) noexcept override;
void _Close() noexcept override;
};

0 comments on commit a59957c

Please sign in to comment.