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:
Nikita Baryshnikov
2014-06-16 21:34:13 +04:00
committed by hjk
parent 453bb4ebe5
commit 84e176edab
12 changed files with 25 additions and 46 deletions

View File

@@ -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)

View File

@@ -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