mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user