Guest User

Untitled

a guest
Oct 18th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. # HG changeset patch
  2. # Parent b8596aa9c05bcf3380c5dbc10163908f03db7ef5
  3.  
  4. diff --git a/mfbt/Util.h b/mfbt/Util.h
  5. --- a/mfbt/Util.h
  6. +++ b/mfbt/Util.h
  7. @@ -27,7 +27,8 @@ namespace mozilla {
  8. * DebugOnly<bool> check = func();
  9. * MOZ_ASSERT(check);
  10. *
  11. - * more concisely than declaring |check| conditional on #ifdef DEBUG, but also
  12. + * where the side effects of 'func()' are needed regardless of DEBUG, more
  13. + * concisely than declaring |check| conditional on #ifdef DEBUG, but also
  14. * without allocating storage space for |check| in release builds.
  15. *
  16. * DebugOnly instances can only be coerced to T in debug builds. In release
Add Comment
Please, Sign In to add comment