| 1784 | } |
| 1785 | |
| 1786 | std::vector<const CCommunity *> CServerBrowser::SelectedCommunities() const |
| 1787 | { |
| 1788 | std::vector<const CCommunity *> vpSelected; |
| 1789 | for(const auto &Community : Communities()) |
| 1790 | { |
| 1791 | if(!CommunitiesFilter().Filtered(Community.Id())) |
| 1792 | { |
| 1793 | vpSelected.push_back(&Community); |
| 1794 | } |
| 1795 | } |
| 1796 | return vpSelected; |
| 1797 | } |
| 1798 | |
| 1799 | std::vector<const CCommunity *> CServerBrowser::FavoriteCommunities() const |
| 1800 | { |
nothing calls this directly
no test coverage detected