summaryrefslogtreecommitdiff
path: root/src/libs/xpcom18a4/xpcom
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/xpcom18a4/xpcom')
-rw-r--r--src/libs/xpcom18a4/xpcom/string/public/nsTDependentSubstring.h3
-rw-r--r--src/libs/xpcom18a4/xpcom/string/public/nsTPromiseFlatString.h4
2 files changed, 0 insertions, 7 deletions
diff --git a/src/libs/xpcom18a4/xpcom/string/public/nsTDependentSubstring.h b/src/libs/xpcom18a4/xpcom/string/public/nsTDependentSubstring.h
index 1cc99bcf407..d9a7265283b 100644
--- a/src/libs/xpcom18a4/xpcom/string/public/nsTDependentSubstring.h
+++ b/src/libs/xpcom18a4/xpcom/string/public/nsTDependentSubstring.h
@@ -79,9 +79,6 @@ class nsTDependentSubstring_CharT : public nsTSubstring_CharT
: substring_type(NS_CONST_CAST(char_type*, start.get()), end.get() - start.get(), F_NONE) {}
// auto-generated copy-constructor OK (XXX really?? what about base class copy-ctor?)
-#if RT_CLANG_PREREQ(13, 0) /* To shut up Clang 13 (-Wdeprecated-copy). */
- nsTDependentSubstring_CharT(nsTDependentSubstring_CharT const&) = default;
-#endif
private:
// we're immutable, you can't assign into a substring
void operator=( const self_type& ) NS_DELETE;
diff --git a/src/libs/xpcom18a4/xpcom/string/public/nsTPromiseFlatString.h b/src/libs/xpcom18a4/xpcom/string/public/nsTPromiseFlatString.h
index 8494b82aabd..6899df7c261 100644
--- a/src/libs/xpcom18a4/xpcom/string/public/nsTPromiseFlatString.h
+++ b/src/libs/xpcom18a4/xpcom/string/public/nsTPromiseFlatString.h
@@ -132,10 +132,6 @@ class nsTPromiseFlatString_CharT : public nsTString_CharT
// into ourselves.
Assign(tuple);
}
-
-#if RT_CLANG_PREREQ(13, 0) /* To shut up Clang 13 (-Wdeprecated-copy). */
- nsTPromiseFlatString_CharT(nsTPromiseFlatString_CharT const&) = default;
-#endif
};
inline