From d8200f109617c0434b6aaba7afa3cefa48c549e3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 20 May 2018 17:59:20 +0200 Subject: [PATCH] Remove unused wxTarHeaderBlock copy ctor These objects are never copied, and if they were, the default (compiler-generated) copy ctor would do the same thing this explicitly defined copy ctor did, so just remove it. --- src/common/tarstrm.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/common/tarstrm.cpp b/src/common/tarstrm.cpp index b8820febd6..247bcc3b18 100644 --- a/src/common/tarstrm.cpp +++ b/src/common/tarstrm.cpp @@ -129,8 +129,6 @@ class wxTarHeaderBlock public: wxTarHeaderBlock() { memset(data, 0, sizeof(data)); } - wxTarHeaderBlock(const wxTarHeaderBlock& hb) - { memcpy(data, hb.data, sizeof(data)); } bool Read(wxInputStream& in); bool Write(wxOutputStream& out);