Skip to content
Snippets Groups Projects
Commit 4ba5053d authored by Pierre Lespagnol's avatar Pierre Lespagnol Committed by Adrien Béraud
Browse files

conference: fix confInfo comparison

Change-Id: Ib317c52ac241bd2547729b2e0c532bc93ee346e3
Gitlab: #491
parent ac5d3bad
No related branches found
No related tags found
No related merge requests found
......@@ -137,9 +137,11 @@ struct ConfInfo : public std::vector<ParticipantInfo>
{
if (c1.h != c2.h or c1.w != c2.w)
return false;
if (c1.size() != c2.size())
return false;
for (auto& p1 : c1) {
auto it = std::find_if(c2.begin(), c2.end(), [p1](const ParticipantInfo& p2) {
auto it = std::find_if(c2.begin(), c2.end(), [&p1](const ParticipantInfo& p2) {
return p1 == p2;
});
if (it != c2.end())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment