Remove all usage of std::list

This commit is contained in:
louiz’
2016-06-08 01:42:43 +02:00
parent 711861d40e
commit 66609cfba2
6 changed files with 15 additions and 24 deletions
+2 -2
View File
@@ -532,9 +532,9 @@ Bridge* BiboumiComponent::find_user_bridge(const std::string& full_jid)
}
}
std::list<Bridge*> BiboumiComponent::get_bridges() const
std::vector<Bridge*> BiboumiComponent::get_bridges() const
{
std::list<Bridge*> res;
std::vector<Bridge*> res;
for (auto it = this->bridges.begin(); it != this->bridges.end(); ++it)
res.push_back(it->second.get());
return res;