Backed out changeset 5f729d20fd00 (bug 1249728) for bustage. r=bustage on a CLOSED TREE

This commit is contained in:
Sebastian Hengst 2016-02-19 22:18:49 +01:00
parent 942056deee
commit f41859330d

View File

@ -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