diff options
Diffstat (limited to 'mfbt/tests/TestRefPtr.cpp')
-rw-r--r-- | mfbt/tests/TestRefPtr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mfbt/tests/TestRefPtr.cpp b/mfbt/tests/TestRefPtr.cpp index 972e284c44..489b120ae2 100644 --- a/mfbt/tests/TestRefPtr.cpp +++ b/mfbt/tests/TestRefPtr.cpp @@ -20,7 +20,7 @@ class Foo : public RefCounted<Foo> { static int sNumDestroyed; ~Foo() { - MOZ_ASSERT(!mDead); + MOZ_RELEASE_ASSERT(!mDead); mDead = true; sNumDestroyed++; } |