summaryrefslogtreecommitdiff
path: root/absl/crc/internal
diff options
context:
space:
mode:
authorGravatar Rose <83477269+AtariDreams@users.noreply.github.com>2023-02-16 12:20:06 -0500
committerGravatar Rose <83477269+AtariDreams@users.noreply.github.com>2023-02-17 10:22:46 -0500
commitab92654a37348637c134c8d24264b8cbf56d9ff8 (patch)
tree73616d1fede17d23c3c7840f55add399f48ab369 /absl/crc/internal
parented37a45a374dce32f78ca65d873902364963dfc2 (diff)
Convert empty constructors to default ones
These make the changed constructors match closer to the other ones that are default.
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;