From f41859330da672020cd5e7494f9e3bc912726872 Mon Sep 17 00:00:00 2001 From: Sebastian Hengst Date: Fri, 19 Feb 2016 22:18:49 +0100 Subject: [PATCH] Backed out changeset 5f729d20fd00 (bug 1249728) for bustage. r=bustage on a CLOSED TREE --- mfbt/DebugOnly.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mfbt/DebugOnly.h b/mfbt/DebugOnly.h index 6bceea302508..451d9bc37381 100644 --- a/mfbt/DebugOnly.h +++ b/mfbt/DebugOnly.h @@ -64,9 +64,9 @@ public: 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) { } @@ -82,7 +82,7 @@ public: * generate "unused variable" warnings, exactly what it's intended * to avoid! */ - ~DebugOnly() = default; + ~DebugOnly() {} }; } // namespace mozilla