summaryrefslogtreecommitdiff
path: root/mfbt/ThreadLocal.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/ThreadLocal.h
parent292ece5fde96a67a44830cb2c05463a06de0b373 (diff)
downloaduxp-190e7bd30a8df5bfa8e1aba0210f2b67a3b0120d.tar.gz
Issue #2342: Use [[nodiscard]] in /mfbt
Diffstat (limited to 'mfbt/ThreadLocal.h')
-rw-r--r--mfbt/ThreadLocal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mfbt/ThreadLocal.h b/mfbt/ThreadLocal.h
index 7acfa46548..cf8a97cba2 100644
--- a/mfbt/ThreadLocal.h
+++ b/mfbt/ThreadLocal.h
@@ -113,7 +113,7 @@ public:
{}
#endif
- MOZ_MUST_USE inline bool init();
+ [[nodiscard]] inline bool init();
inline T get() const;