summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/chdcodec.cpp
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2020-01-31 03:45:34 +0100
committer GitHub <noreply@github.com>2020-01-30 21:45:34 -0500
commit4a102057779ece1b11431ff0b7787249ce0ad3ad (patch)
treee4911a5cb1a4286dd1547213c4f5eaf993b6adf4 /src/lib/util/chdcodec.cpp
parent059243f68ec0c2e327a3105a9480f50e5e0b4abf (diff)
fixed some modernize-use-equals-default clang-tidy warnings (nw) (#6237)
Diffstat (limited to 'src/lib/util/chdcodec.cpp')
-rw-r--r--src/lib/util/chdcodec.cpp20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/lib/util/chdcodec.cpp b/src/lib/util/chdcodec.cpp
index 9785929d0bd..026393b60a2 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();
+ ~chd_lzma_compressor() = default;
// core functionality
virtual uint32_t compress(const uint8_t *src, uint32_t srclen, uint8_t *dest) override;
@@ -497,15 +497,6 @@ chd_codec::chd_codec(chd_file &chd, uint32_t hunkbytes, bool lossy)
//-------------------------------------------------
-// ~chd_codec - destructor
-//-------------------------------------------------
-
-chd_codec::~chd_codec()
-{
-}
-
-
-//-------------------------------------------------
// configure - configuration
//-------------------------------------------------
@@ -1054,15 +1045,6 @@ 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
//-------------------------------------------------