mirror of https://github.com/Icinga/icinga2.git
parent
827b230467
commit
39bde8078c
|
@ -144,7 +144,7 @@ public:
|
|||
template<typename T>
|
||||
operator intrusive_ptr<T>(void) const
|
||||
{
|
||||
if (IsEmpty())
|
||||
if (IsEmpty() && !IsString())
|
||||
return intrusive_ptr<T>();
|
||||
|
||||
if (!IsObject())
|
||||
|
|
Loading…
Reference in New Issue