if (!GetValueVariant(key, &data))
return false;
- *value = data;
+ *value = static_cast<string>(data);
return true;
}
typedef shared_ptr<NewMessageEventArgs> Ptr;
typedef weak_ptr<NewMessageEventArgs> WeakPtr;
- Message Message;
+ icinga::Message Message;
};
class I2_JSONRPC_API JsonRpcClient : public TCPClient
size_t m_Length;
void *m_Data;
- static Dictionary::Ptr Netstring::GetDictionaryFromJson(cJSON *json);
+ static Dictionary::Ptr GetDictionaryFromJson(cJSON *json);
static cJSON *GetJsonFromDictionary(const Dictionary::Ptr& dictionary);
public: