mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +02:00
parent
827b230467
commit
39bde8078c
@ -144,7 +144,7 @@ public:
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
operator intrusive_ptr<T>(void) const
|
operator intrusive_ptr<T>(void) const
|
||||||
{
|
{
|
||||||
if (IsEmpty())
|
if (IsEmpty() && !IsString())
|
||||||
return intrusive_ptr<T>();
|
return intrusive_ptr<T>();
|
||||||
|
|
||||||
if (!IsObject())
|
if (!IsObject())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user