mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 710805 - Assert validity in xpc_qsBasicString; r=jst
This commit is contained in:
parent
2db789079c
commit
1f37b86a6b
@ -265,11 +265,13 @@ public:
|
||||
|
||||
implementation_type *Ptr()
|
||||
{
|
||||
MOZ_ASSERT(mValid);
|
||||
return reinterpret_cast<implementation_type *>(mBuf);
|
||||
}
|
||||
|
||||
operator interface_type &()
|
||||
{
|
||||
MOZ_ASSERT(mValid);
|
||||
return *Ptr();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user