summaryrefslogtreecommitdiff
path: root/layout/generic/AspectRatio.h
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/AspectRatio.h')
-rw-r--r--layout/generic/AspectRatio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/generic/AspectRatio.h b/layout/generic/AspectRatio.h
index 5cb281c804..b940376257 100644
--- a/layout/generic/AspectRatio.h
+++ b/layout/generic/AspectRatio.h
@@ -47,7 +47,7 @@ struct AspectRatio {
}
// Inverts the ratio, in order to get the height / width ratio.
- MOZ_MUST_USE AspectRatio Inverted() const {
+ [[nodiscard]] AspectRatio Inverted() const {
if (!*this) {
return AspectRatio();
}