Backed out changeset 5f729d20fd00 (bug 1249728) for bustage. r=bustage on a CLOSED TREE
authorSebastian Hengst <archaeopteryx@coole-files.de>
Fri, 19 Feb 2016 22:18:49 +0100
changeset 284902 7926861aed22d8853401556dd59156fe55616cfb
parent 284901 93654b236653d2628b7d49ebe2b825bc85d4c754
child 284903 bf6afee1a737301d1df572dc99a941a3008167b9
push id72160
push userarchaeopteryx@coole-files.de
push dateFri, 19 Feb 2016 21:19:20 +0000
treeherdermozilla-inbound@7926861aed22 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1249728
milestone47.0a1
backs out5f729d20fd00033855fd99575eda4d60bc172c4a
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 5f729d20fd00 (bug 1249728) for bustage. r=bustage on a CLOSED TREE
mfbt/DebugOnly.h
--- a/mfbt/DebugOnly.h
+++ b/mfbt/DebugOnly.h
@@ -59,32 +59,32 @@ public:
 
   operator T&() { return value; }
   operator const T&() const { return value; }
 
   T& operator->() { return value; }
   const T& operator->() const { return value; }
 
 #else
-  MOZ_CONSTEXPR DebugOnly() { }
-  MOZ_CONSTEXPR MOZ_IMPLICIT DebugOnly(const T&) { }
-  MOZ_CONSTEXPR DebugOnly(const DebugOnly&) { }
+  DebugOnly() { }
+  MOZ_IMPLICIT DebugOnly(const T&) { }
+  DebugOnly(const DebugOnly&) { }
   DebugOnly& operator=(const T&) { return *this; }
   void operator++(int) { }
   void operator--(int) { }
   DebugOnly& operator+=(const T&) { return *this; }
   DebugOnly& operator-=(const T&) { return *this; }
   DebugOnly& operator&=(const T&) { return *this; }
   DebugOnly& operator|=(const T&) { return *this; }
   DebugOnly& operator^=(const T&) { return *this; }
 #endif
 
   /*
    * DebugOnly must always have a destructor or else it will
    * generate "unused variable" warnings, exactly what it's intended
    * to avoid!
    */
-  ~DebugOnly() = default;
+  ~DebugOnly() {}
 };
 
 } // namespace mozilla
 
 #endif /* mozilla_DebugOnly_h */