committed by
Christian Helmuth
parent
2b21f41495
commit
e9fcbace61
@@ -78,6 +78,8 @@ struct Extract::Extracted_archive : Noncopyable
|
||||
{
|
||||
archive * const ptr = archive_read_new();
|
||||
|
||||
using Noncopyable::Noncopyable;
|
||||
|
||||
~Source()
|
||||
{
|
||||
archive_read_close(ptr);
|
||||
@@ -89,6 +91,8 @@ struct Extract::Extracted_archive : Noncopyable
|
||||
{
|
||||
archive * const ptr = archive_write_disk_new();
|
||||
|
||||
using Noncopyable::Noncopyable;
|
||||
|
||||
~Destination()
|
||||
{
|
||||
archive_write_close(ptr);
|
||||
|
||||
Reference in New Issue
Block a user