Commit bb2c51f2 authored by Ghislain MARY's avatar Ghislain MARY

Fix build.

parent 7c239c8e
......@@ -138,7 +138,7 @@ list<SearchResult> MagicSearch::getContactListFromFilter(const string &filter, c
if (getLimitedSearch() && returnList.size() > getSearchLimit()) {
auto limitIterator = returnList.begin();
advance(limitIterator, getSearchLimit());
returnList.erase(limitIterator, returnList.cend());
returnList.erase(limitIterator, returnList.end());
proxy = linphone_core_get_default_proxy_config(this->getCore()->getCCore());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment