summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/chdcodec.cpp
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2020-04-08 17:10:21 +0200
committer GitHub <noreply@github.com>2020-04-08 11:10:21 -0400
commite9f6bd8d019ee808f592f0fce846dba3b129ebed (patch)
tree3499aa6f0631f0bbdfdfc17a213b2f16ef47adb2 /src/lib/util/chdcodec.cpp
parentefceabc768ceacdaa6d88ff9eb23f909efc1723a (diff)
Revert "fixed some modernize-use-equals-default clang-tidy warnings (… (#6360)
* Revert "fixed some modernize-use-equals-default clang-tidy warnings (nw)" This reverts commit 54486ab9 * fixed merge error
Diffstat (limited to 'src/lib/util/chdcodec.cpp')
-rw-r--r--src/lib/util/chdcodec.cpp20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/lib/util/chdcodec.cpp b/src/lib/util/chdcodec.cpp
index 3f76af302bd..58f7b4291db 100644
--- a/src/lib/util/chdcodec.cpp
+++ b/src/lib/util/chdcodec.cpp
@@ -124,7 +124,7 @@ class chd_lzma_compressor : public chd_compressor
public:
// construction/destruction
chd_lzma_compressor(chd_file &chd, uint32_t hunkbytes, bool lossy);
- ~chd_lzma_compressor() = default;
+ ~chd_lzma_compressor();
// core functionality
virtual uint32_t compress(const uint8_t *src, uint32_t srclen, uint8_t *dest) override;
@@ -497,6 +497,15 @@ chd_codec::chd_codec(chd_file &chd, uint32_t hunkbytes, bool lossy)
//-------------------------------------------------
+// ~chd_codec - destructor
+//-------------------------------------------------
+
+chd_codec::~chd_codec()
+{
+}
+
+
+//-------------------------------------------------
// configure - configuration
//-------------------------------------------------
@@ -1045,6 +1054,15 @@ chd_lzma_compressor::chd_lzma_compressor(chd_file &chd, uint32_t hunkbytes, bool
//-------------------------------------------------
+// ~chd_lzma_compressor - destructor
+//-------------------------------------------------
+
+chd_lzma_compressor::~chd_lzma_compressor()
+{
+}
+
+
+//-------------------------------------------------
// compress - compress data using the LZMA codec
//-------------------------------------------------