Fix compile error on OSX

This commit is contained in:
Gioacchino Mazzurco 2019-02-16 17:09:35 -03:00
parent 5ff4ebbd12
commit 9e70aa0a98
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -212,9 +212,12 @@ bool p3IdService::getIdentitiesInfo(
const std::set<RsGxsId>& ids, std::vector<RsGxsIdGroup>& idsInfo )
{
uint32_t token;
RsTokReqOptions opts;
opts.mReqType = GXS_REQUEST_TYPE_GROUP_DATA;
std::list<RsGxsGroupId> idsList(ids.begin(), ids.end());
std::list<RsGxsGroupId> idsList;
for (auto&& id : ids) idsList.push_back(RsGxsGroupId(id));
if( !requestGroupInfo(token, opts, idsList)
|| waitToken(token) != RsTokenService::COMPLETE ) return false;