summaryrefslogtreecommitdiff
path: root/absl/crc/internal
diff options
context:
space:
mode:
authorGravatar Copybara-Service <copybara-worker@google.com>2023-02-21 12:17:12 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2023-02-21 12:17:12 -0800
commitc3b5022604551a045e383c68071d7be0a807839d (patch)
tree2f14736c51252d27f7995df6741e00cd934714ec /absl/crc/internal
parente575e989c8117f5f2c6bad75db38c9b1da48e750 (diff)
parentab92654a37348637c134c8d24264b8cbf56d9ff8 (diff)
Merge pull request #1394 from AtariDreams:constructors
PiperOrigin-RevId: 511271203 Change-Id: I1ed352e06265b705b62d401a50b4699d01f7f1d7
Diffstat (limited to 'absl/crc/internal')
-rw-r--r--absl/crc/internal/crc_internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/absl/crc/internal/crc_internal.h b/absl/crc/internal/crc_internal.h
index 0611b383..9f080913 100644
--- a/absl/crc/internal/crc_internal.h
+++ b/absl/crc/internal/crc_internal.h
@@ -64,7 +64,7 @@ class CRCImpl : public CRC { // Implemention of the abstract class CRC
public:
using Uint32By256 = uint32_t[256];
- CRCImpl() {}
+ CRCImpl() = default;
~CRCImpl() override = default;
// The internal version of CRC::New().
@@ -96,8 +96,8 @@ class CRCImpl : public CRC { // Implemention of the abstract class CRC
// This is the 32-bit implementation. It handles all sizes from 8 to 32.
class CRC32 : public CRCImpl {
public:
- CRC32() {}
- ~CRC32() override {}
+ CRC32() = default;
+ ~CRC32() override = default;
void Extend(uint32_t* crc, const void* bytes, size_t length) const override;
void ExtendByZeroes(uint32_t* crc, size_t length) const override;