summaryrefslogtreecommitdiff
path: root/mfbt/FloatingPoint.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-11-05 12:37:04 +0100
committerMoonchild <moonchild@palemoon.org>2023-11-08 13:50:33 +0100
commit190e7bd30a8df5bfa8e1aba0210f2b67a3b0120d (patch)
tree8135f52584980fc3ce9827daa3e27a08af2c6913 /mfbt/FloatingPoint.h
parent292ece5fde96a67a44830cb2c05463a06de0b373 (diff)
downloaduxp-190e7bd30a8df5bfa8e1aba0210f2b67a3b0120d.tar.gz
Issue #2342: Use [[nodiscard]] in /mfbt
Diffstat (limited to 'mfbt/FloatingPoint.h')
-rw-r--r--mfbt/FloatingPoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mfbt/FloatingPoint.h b/mfbt/FloatingPoint.h
index a2846ce298..2ee1d1299b 100644
--- a/mfbt/FloatingPoint.h
+++ b/mfbt/FloatingPoint.h
@@ -523,7 +523,7 @@ FuzzyEqualsMultiplicative(T aValue1, T aValue2,
*
* This function isn't inlined to avoid buggy optimizations by MSVC.
*/
-MOZ_MUST_USE
+[[nodiscard]]
extern MFBT_API bool
IsFloat32Representable(double aFloat32);