From 1e5c4a774947f086def2f0526eb0d67518f3b621 Mon Sep 17 00:00:00 2001 From: Simon Giesecke Date: Wed, 12 Feb 2020 13:39:13 +0000 Subject: [PATCH] Bug 1613985 - Use default for equivalent-to-default constructors/destructors in caps. r=smaug Depends on D62569 Differential Revision: https://phabricator.services.mozilla.com/D62570 --HG-- extra : moz-landing-system : lando --- caps/OriginAttributes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/caps/OriginAttributes.h b/caps/OriginAttributes.h index 28a03ed2d817..1b164c06e02e 100644 --- a/caps/OriginAttributes.h +++ b/caps/OriginAttributes.h @@ -16,7 +16,7 @@ namespace mozilla { class OriginAttributes : public dom::OriginAttributesDictionary { public: - OriginAttributes() {} + OriginAttributes() = default; explicit OriginAttributes(bool aInIsolatedMozBrowser) { mInIsolatedMozBrowser = aInIsolatedMozBrowser; @@ -126,7 +126,7 @@ class OriginAttributesPattern : public dom::OriginAttributesPatternDictionary { // if (!pattern.Init(aJSONString)) { // ... // handle failure. // } - OriginAttributesPattern() {} + OriginAttributesPattern() = default; explicit OriginAttributesPattern( const OriginAttributesPatternDictionary& aOther)