daily pastebin goal
74%
SHARE
TWEET

Untitled

a guest Oct 18th, 2018 64 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top