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:31:30 -05:00 committed by Joshua Hildred
parent 1ce6256479
commit f34ef716f0

View File

@ -34,7 +34,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);