mirror of https://github.com/Icinga/icinga2.git
Compilation fixes for gcc.
This commit is contained in:
parent
efaa2a1fd1
commit
f9bf1c3b75
|
@ -27,7 +27,7 @@ bool Dictionary::GetValueString(string key, string *value)
|
|||
if (!GetValueVariant(key, &data))
|
||||
return false;
|
||||
|
||||
*value = data;
|
||||
*value = static_cast<string>(data);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ struct I2_JSONRPC_API NewMessageEventArgs : public EventArgs
|
|||
typedef shared_ptr<NewMessageEventArgs> Ptr;
|
||||
typedef weak_ptr<NewMessageEventArgs> WeakPtr;
|
||||
|
||||
Message Message;
|
||||
icinga::Message Message;
|
||||
};
|
||||
|
||||
class I2_JSONRPC_API JsonRpcClient : public TCPClient
|
||||
|
|
|
@ -10,7 +10,7 @@ private:
|
|||
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:
|
||||
|
|
Loading…
Reference in New Issue