Build fix for OS X.

This commit is contained in:
Gunnar Beutner 2013-03-15 09:07:50 +01:00
parent aaccee69b8
commit 876519034c
2 changed files with 4 additions and 2 deletions

View File

@ -65,7 +65,8 @@ void JsonRpcConnection::ProcessData(void)
" message must be a dictionary.")); " message must be a dictionary."));
} }
OnNewMessage(GetSelf(), MessagePart(value)); MessagePart mp(value);
OnNewMessage(GetSelf(), mp);
} catch (const exception& ex) { } catch (const exception& ex) {
Logger::Write(LogCritical, "remoting", "Exception" Logger::Write(LogCritical, "remoting", "Exception"
" while processing message from JSON-RPC client: " + " while processing message from JSON-RPC client: " +

View File

@ -76,7 +76,8 @@ bool MessagePart::Get(String key, MessagePart *value) const
Dictionary::Ptr dictionary = v; Dictionary::Ptr dictionary = v;
*value = MessagePart(dictionary); MessagePart mp(dictionary);
*value = mp;
return true; return true;
} }