forked from qt-creator/qt-creator
Replace call to a long obsolete QtAlgorithms function
Change-Id: I1e07649d7d1153400951ae734c7f78e03ff8fe32 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -3704,7 +3704,7 @@ void ExtractFunction::match(const CppQuickFixInterface &interface, QuickFixOpera
|
|||||||
int selStart = cursor.selectionStart();
|
int selStart = cursor.selectionStart();
|
||||||
int selEnd = cursor.selectionEnd();
|
int selEnd = cursor.selectionEnd();
|
||||||
if (selStart > selEnd)
|
if (selStart > selEnd)
|
||||||
qSwap(selStart, selEnd);
|
std::swap(selStart, selEnd);
|
||||||
|
|
||||||
Overview printer;
|
Overview printer;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user