forked from qt-creator/qt-creator
CleanUp usage of QtAlgorithms
Change-Id: I61be20554014f90c2e1313167a3e3c869e26c35e Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
#include <QTextStream>
|
||||
#include <QVector>
|
||||
|
||||
#include <QtAlgorithms>
|
||||
#include <algorithm>
|
||||
|
||||
namespace Valgrind {
|
||||
namespace XmlProtocol {
|
||||
@@ -95,7 +95,7 @@ Error::Error(const Error &other) :
|
||||
|
||||
void Error::swap(Error &other)
|
||||
{
|
||||
qSwap(d, other.d);
|
||||
std::swap(d, other.d);
|
||||
}
|
||||
|
||||
Error &Error::operator=(const Error &other)
|
||||
|
||||
@@ -31,7 +31,8 @@
|
||||
#include "frame.h"
|
||||
|
||||
#include <QString>
|
||||
#include <QtAlgorithms>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
namespace Valgrind {
|
||||
namespace XmlProtocol {
|
||||
@@ -91,7 +92,7 @@ bool Frame::operator!=(const Frame &other) const
|
||||
|
||||
void Frame::swap(Frame &other)
|
||||
{
|
||||
qSwap(d, other.d);
|
||||
std::swap(d, other.d);
|
||||
}
|
||||
|
||||
quint64 Frame::instructionPointer() const
|
||||
|
||||
Reference in New Issue
Block a user