ctabin / libzippp

C++ wrapper for libzip
Other
383 stars 96 forks source link

Set compression method in addData #182

Closed daljit97 closed 1 year ago

daljit97 commented 1 year ago

In #163, the setCompressionMethod handling was fixed by ensuring that zip_set_file_compression was called in ZipArchive::addFile, but ZipArchive::addData wasn't changed. Shouldn't zip_set_file_compression be also called there?