Replace call to a long obsolete QtAlgorithms function

Change-Id: I1e07649d7d1153400951ae734c7f78e03ff8fe32
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Frank Meerkoetter
2018-10-03 22:13:42 +02:00
parent f2411aa290
commit ffc070a3f2

View File

@@ -3704,7 +3704,7 @@ void ExtractFunction::match(const CppQuickFixInterface &interface, QuickFixOpera
int selStart = cursor.selectionStart();
int selEnd = cursor.selectionEnd();
if (selStart > selEnd)
qSwap(selStart, selEnd);
std::swap(selStart, selEnd);
Overview printer;