/***************************************************************************
- * Copyright (C) 2005-2018 by the Quassel Project *
+ * Copyright (C) 2005-2019 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
}
}
- qSort(searchHighlights.begin(), searchHighlights.end(), SearchHighlightItem::firstInLine);
+ std::sort(searchHighlights.begin(), searchHighlights.end(), SearchHighlightItem::firstInLine);
Q_ASSERT(wordPos.count() == searchHighlights.count());
for (int i = 0; i < searchHighlights.count(); i++) {