mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 02:57:34 +00:00
GVariant: Don't crash when extracting a null String.
This commit is contained in:
parent
054c982181
commit
8f4c59c276
3 changed files with 39 additions and 3 deletions
|
@ -39,6 +39,11 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
String(const StringImpl* impl)
|
||||
: m_impl(const_cast<StringImpl*>(impl))
|
||||
{
|
||||
}
|
||||
|
||||
String(RetainPtr<StringImpl>&& impl)
|
||||
: m_impl(move(impl))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue