Fix clang compile

This commit is contained in:
Jacob Dufault 2017-05-21 00:43:10 -07:00
parent 94bd6fc301
commit 3fe824e208

View File

@ -1613,7 +1613,8 @@ template<typename TVisitor>
void Reflect(TVisitor& visitor, Out_ShowLogMessage& value) {
REFLECT_MEMBER_START();
REFLECT_MEMBER(jsonrpc);
REFLECT_MEMBER2("method", value.method());
std::string method = value.method();
REFLECT_MEMBER2("method", method);
REFLECT_MEMBER(params);
REFLECT_MEMBER_END();
}
@ -1667,4 +1668,4 @@ struct Out_LocationList : public lsOutMessage<Out_LocationList> {
lsRequestId id;
NonElidedVector<lsLocation> result;
};
MAKE_REFLECT_STRUCT(Out_LocationList, jsonrpc, id, result);
MAKE_REFLECT_STRUCT(Out_LocationList, jsonrpc, id, result);