Bug 1350432 - Add TLS infallible init (r=froydnj)

MozReview-Commit-ID: 9Fgltrw4p8
This commit is contained in:
Bill McCloskey 2017-08-21 15:18:58 -07:00
parent 2270017046
commit 06a265a5bd

View File

@ -113,6 +113,9 @@ public:
#endif
MOZ_MUST_USE inline bool init();
void infallibleInit() {
MOZ_RELEASE_ASSERT(init(), "Infallible TLS initialization failed");
}
inline T get() const;