mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Backed out changeset 5f729d20fd00 (bug 1249728) for bustage. r=bustage on a CLOSED TREE
This commit is contained in:
parent
942056deee
commit
f41859330d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user