Skip to content

Commit

Permalink
Bug 1533777 - use a release assert in CheckedInt::value; r=froydnj
Browse files Browse the repository at this point in the history
Differential Revision: https://phabricator.services.mozilla.com/D22970

--HG--
extra : moz-landing-system : lando
  • Loading branch information
Archaeopteryx committed Mar 27, 2019
1 parent a177206 commit 380873f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mfbt/CheckedInt.h
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ class CheckedInt {

/** @returns the actual value */
T value() const {
MOZ_ASSERT(
MOZ_RELEASE_ASSERT(
mIsValid,
"Invalid checked integer (division by zero or integer overflow)");
return mValue;
Expand Down

0 comments on commit 380873f

Please sign in to comment.