summaryrefslogtreecommitdiff
path: root/absl/debugging
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/debugging
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/debugging')
-rw-r--r--absl/debugging/leak_check.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/debugging/leak_check.cc b/absl/debugging/leak_check.cc
index 195e82bf..fdb8798b 100644
--- a/absl/debugging/leak_check.cc
+++ b/absl/debugging/leak_check.cc
@@ -65,8 +65,8 @@ bool LeakCheckerIsActive() { return false; }
void DoIgnoreLeak(const void*) { }
void RegisterLivePointers(const void*, size_t) { }
void UnRegisterLivePointers(const void*, size_t) { }
-LeakCheckDisabler::LeakCheckDisabler() { }
-LeakCheckDisabler::~LeakCheckDisabler() { }
+LeakCheckDisabler::LeakCheckDisabler() = default;
+LeakCheckDisabler::~LeakCheckDisabler() = default;
ABSL_NAMESPACE_END
} // namespace absl