Update src/IO/Archives/LibArchiveWriter.cpp

Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
This commit is contained in:
josh-hildred 2024-02-21 08:30:16 -05:00 committed by Joshua Hildred
parent 6b32271b88
commit 5963b67dff

View File

@ -35,7 +35,6 @@ class LibArchiveWriter::StreamInfo
public:
explicit StreamInfo(std::unique_ptr<WriteBuffer> archive_write_buffer_) : archive_write_buffer(std::move(archive_write_buffer_)) { }
static ssize_t memory_write([[maybe_unused]] struct archive * archive, void * client_data, const void * buff, size_t length)
{
auto * stream_info = reinterpret_cast<StreamInfo *>(client_data);