retroshare-gui fix windows compilation error due to time_t usage

This commit is contained in:
Gioacchino Mazzurco 2018-10-07 14:34:28 +02:00
parent 72d8364370
commit 6db23267c3
No known key found for this signature in database
GPG key ID: A1FBCA3872E87051
5 changed files with 11 additions and 9 deletions

View file

@ -574,7 +574,7 @@ void ChatLobbyDialog::updateParticipantsList()
delete ui.participantsList->takeTopLevelItem(index);
}
for (std::map<RsGxsId,time_t>::const_iterator it2(linfo.gxs_ids.begin()); it2 != linfo.gxs_ids.end(); ++it2)
for (auto it2(linfo.gxs_ids.begin()); it2 != linfo.gxs_ids.end(); ++it2)
{
QString participant = QString::fromUtf8( (it2->first).toStdString().c_str() );