From fcd4872d202c2cfc908bb47ee8ea8cd154b286ba Mon Sep 17 00:00:00 2001 From: Simon Giesecke Date: Tue, 10 Mar 2020 08:48:24 +0000 Subject: [PATCH] Bug 1613985 - Use default for equivalent-to-default constructors/destructors in tools. r=mstange Depends on D66013 Differential Revision: https://phabricator.services.mozilla.com/D66015 --HG-- extra : moz-landing-system : lando --- tools/profiler/public/ProfilerMarkerPayload.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/profiler/public/ProfilerMarkerPayload.h b/tools/profiler/public/ProfilerMarkerPayload.h index 4b0e2087dfb4..065b45f23e92 100644 --- a/tools/profiler/public/ProfilerMarkerPayload.h +++ b/tools/profiler/public/ProfilerMarkerPayload.h @@ -57,7 +57,7 @@ class ProfilerMarkerPayload { UniqueProfilerBacktrace aStack = nullptr) : mCommonProps{aStartTime, aEndTime, std::move(aStack), aInnerWindowID} {} - virtual ~ProfilerMarkerPayload() {} + virtual ~ProfilerMarkerPayload() = default; // Compute the number of bytes needed to serialize the `DeserializerTag` and // payload, including in the no-payload (nullptr) case.