mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +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
|
||||
|
||||
MOZ_MUST_USE inline bool init();
|
||||
void infallibleInit() {
|
||||
MOZ_RELEASE_ASSERT(init(), "Infallible TLS initialization failed");
|
||||
}
|
||||
|
||||
inline T get() const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user