mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 23:36:59 -05:00
Fix compile error on OSX
This commit is contained in:
parent
5ff4ebbd12
commit
9e70aa0a98
@ -212,9 +212,12 @@ bool p3IdService::getIdentitiesInfo(
|
|||||||
const std::set<RsGxsId>& ids, std::vector<RsGxsIdGroup>& idsInfo )
|
const std::set<RsGxsId>& ids, std::vector<RsGxsIdGroup>& idsInfo )
|
||||||
{
|
{
|
||||||
uint32_t token;
|
uint32_t token;
|
||||||
|
|
||||||
RsTokReqOptions opts;
|
RsTokReqOptions opts;
|
||||||
opts.mReqType = GXS_REQUEST_TYPE_GROUP_DATA;
|
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)
|
if( !requestGroupInfo(token, opts, idsList)
|
||||||
|| waitToken(token) != RsTokenService::COMPLETE ) return false;
|
|| waitToken(token) != RsTokenService::COMPLETE ) return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user