File mozilla-bmo1990430.patch of Package thunderbird144

# HG changeset patch
# User Wolfgang Rosenauer <wr@rosenauer.org>
# Parent  977b208eff3597f63886674656b53414f20f99c8

diff --git a/xpcom/ds/nsTArray.h b/xpcom/ds/nsTArray.h
--- a/xpcom/ds/nsTArray.h
+++ b/xpcom/ds/nsTArray.h
@@ -2967,17 +2967,17 @@ class MOZ_NON_MEMMOVABLE MOZ_GSL_OWNER A
   struct alignas(8) AutoBuffer {
     nsTArrayHeader mHdr;
     union alignas(value_type) {
       // FIXME: Conceptually `value_type mElements[N]`, but that upsets the
       // hazard analysis, see bug 1880185.
       char mStorage[sizeof(value_type) * N];
     };
     AutoBuffer() : mHdr{.mLength = 0, .mCapacity = N, .mIsAutoArray = true} {}
-    ~AutoBuffer() {}
+    ~AutoBuffer() = default;
   } mAutoBuf;
   static_assert(offsetof(AutoBuffer, mStorage) == sizeof(nsTArrayHeader),
                 "Shouldn't have padding");
 };
 
 //
 // Specialization of AutoTArray<E, N> for the case where N == 0.
 // AutoTArray<E, 0> behaves exactly like nsTArray<E>, but without this
openSUSE Build Service is sponsored by