summaryrefslogtreecommitdiff
path: root/js/src/wasm/WasmTextUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/wasm/WasmTextUtils.cpp')
-rw-r--r--js/src/wasm/WasmTextUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/wasm/WasmTextUtils.cpp b/js/src/wasm/WasmTextUtils.cpp
index 197a211f19..b09504fa2b 100644
--- a/js/src/wasm/WasmTextUtils.cpp
+++ b/js/src/wasm/WasmTextUtils.cpp
@@ -73,5 +73,5 @@ js::wasm::RenderNaN(StringBuffer& sb, Raw<T> num)
RenderInBase<16>(sb, payload);
}
-template MOZ_MUST_USE bool js::wasm::RenderNaN(StringBuffer& b, Raw<float> num);
-template MOZ_MUST_USE bool js::wasm::RenderNaN(StringBuffer& b, Raw<double> num);
+template [[nodiscard]] bool js::wasm::RenderNaN(StringBuffer& b, Raw<float> num);
+template [[nodiscard]] bool js::wasm::RenderNaN(StringBuffer& b, Raw<double> num);