Skip to content

Commit

Permalink
Backed out changeset 5f729d20fd00 (bug 1249728) for bustage. r=bustag…
Browse files Browse the repository at this point in the history
…e on a CLOSED TREE
  • Loading branch information
Archaeopteryx committed Feb 19, 2016
1 parent 942056d commit f418593
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mfbt/DebugOnly.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ class DebugOnly
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) { }
Expand All @@ -82,7 +82,7 @@ class DebugOnly
* generate "unused variable" warnings, exactly what it's intended
* to avoid!
*/
~DebugOnly() = default;
~DebugOnly() {}
};

} // namespace mozilla
Expand Down

0 comments on commit f418593

Please sign in to comment.