forked from qt-creator/qt-creator
Valgrind: Modernize
modernize-* Change-Id: I6db60dce78cf2575e36caa597b1f095adba34fd9 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -38,12 +38,7 @@ namespace XmlProtocol {
|
||||
class AnnounceThread::Private : public QSharedData
|
||||
{
|
||||
public:
|
||||
Private()
|
||||
: hThreadId( -1 )
|
||||
{
|
||||
}
|
||||
|
||||
qint64 hThreadId;
|
||||
qint64 hThreadId = -1;
|
||||
QVector<Frame> stack;
|
||||
};
|
||||
|
||||
@@ -52,14 +47,9 @@ AnnounceThread::AnnounceThread()
|
||||
{
|
||||
}
|
||||
|
||||
AnnounceThread::AnnounceThread(const AnnounceThread &other)
|
||||
: d(other.d)
|
||||
{
|
||||
}
|
||||
AnnounceThread::AnnounceThread(const AnnounceThread &other) = default;
|
||||
|
||||
AnnounceThread::~AnnounceThread()
|
||||
{
|
||||
}
|
||||
AnnounceThread::~AnnounceThread() = default;
|
||||
|
||||
void AnnounceThread::swap(AnnounceThread &other)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user