summaryrefslogtreecommitdiff
path: root/gfx/src/nsSize.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/src/nsSize.h')
-rw-r--r--gfx/src/nsSize.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/src/nsSize.h b/gfx/src/nsSize.h
index f27c478f96..bb1505a2c2 100644
--- a/gfx/src/nsSize.h
+++ b/gfx/src/nsSize.h
@@ -30,7 +30,7 @@ struct nsSize : public mozilla::gfx::BaseSize<nscoord, nsSize> {
* @param aFromAPP the APP to scale from
* @param aToAPP the APP to scale to
*/
- MOZ_MUST_USE inline nsSize
+ [[nodiscard]] inline nsSize
ScaleToOtherAppUnits(int32_t aFromAPP, int32_t aToAPP) const;
};