diff options
Diffstat (limited to 'mfbt/Assertions.h')
-rw-r--r-- | mfbt/Assertions.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mfbt/Assertions.h b/mfbt/Assertions.h index df41795c12..09a1b8eaa6 100644 --- a/mfbt/Assertions.h +++ b/mfbt/Assertions.h @@ -603,25 +603,25 @@ struct AssertionConditionType # define MOZ_ALWAYS_TRUE(expr) \ do { \ if ((expr)) { \ - /* Silence MOZ_MUST_USE. */ \ + /* Silence [[nodiscard]]. */ \ } \ } while (0) # define MOZ_ALWAYS_FALSE(expr) \ do { \ if ((expr)) { \ - /* Silence MOZ_MUST_USE. */ \ + /* Silence [[nodiscard]]. */ \ } \ } while (0) # define MOZ_ALWAYS_OK(expr) \ do { \ if ((expr).isOk()) { \ - /* Silence MOZ_MUST_USE. */ \ + /* Silence [[nodiscard]]. */ \ } \ } while (0) # define MOZ_ALWAYS_ERR(expr) \ do { \ if ((expr).isErr()) { \ - /* Silence MOZ_MUST_USE. */ \ + /* Silence [[nodiscard]]. */ \ } \ } while (0) #endif |