mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1350432
- Add TLS infallible init (r=froydnj)
MozReview-Commit-ID: 9Fgltrw4p8
This commit is contained in:
parent
2270017046
commit
06a265a5bd
@ -113,6 +113,9 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
MOZ_MUST_USE inline bool init();
|
MOZ_MUST_USE inline bool init();
|
||||||
|
void infallibleInit() {
|
||||||
|
MOZ_RELEASE_ASSERT(init(), "Infallible TLS initialization failed");
|
||||||
|
}
|
||||||
|
|
||||||
inline T get() const;
|
inline T get() const;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user