From 41e0f69542e5625a89f6cd87a38242a63901bb53 Mon Sep 17 00:00:00 2001 From: "Carsten \"Tomcat\" Book" Date: Thu, 13 Jul 2017 11:10:17 +0200 Subject: [PATCH] Backed out changeset 1eb2623a06c8 (bug 1374024) --- xpcom/string/nsTString.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xpcom/string/nsTString.h b/xpcom/string/nsTString.h index 542f7d552a64..a2e62937a4c1 100644 --- a/xpcom/string/nsTString.h +++ b/xpcom/string/nsTString.h @@ -109,9 +109,9 @@ public: */ #if defined(CharT_is_PRUnichar) && defined(MOZ_USE_CHAR16_WRAPPER) - MOZ_NO_DANGLING_ON_TEMPORARIES char16ptr_t get() const + char16ptr_t get() const #else - MOZ_NO_DANGLING_ON_TEMPORARIES const char_type* get() const + const char_type* get() const #endif { return mData; @@ -732,9 +732,9 @@ public: // return nullptr if we are voided #if defined(CharT_is_PRUnichar) && defined(MOZ_USE_CHAR16_WRAPPER) - MOZ_NO_DANGLING_ON_TEMPORARIES char16ptr_t get() const + char16ptr_t get() const #else - MOZ_NO_DANGLING_ON_TEMPORARIES const char_type* get() const + const char_type* get() const #endif { return (mDataFlags & DataFlags::VOIDED) ? nullptr : mData;