Ref T315, owner is normal pointer, disucssion:

- https://swift-project.slack.com/archives/GCKMFLG30/p1536331871000100
- and in comments of T315
This commit is contained in:
Klaus Basan
2018-09-07 18:36:21 +02:00
parent 837288b874
commit d37c52fed5
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@
#include <QCoreApplication>
#ifdef Q_OS_WIN32
#include <windows.h>
#include <Windows.h>
#endif
namespace BlackMisc

View File

@@ -334,7 +334,7 @@ namespace BlackMisc
using CWorkerBase::setStarted;
using CWorkerBase::setFinished;
QPointer<QObject> m_owner; //!< owner, QPointer will detect if the owner is deleted
QObject *m_owner; //!< owner, QPointer will detect if the owner is deleted
QString m_name; //!< worker's name
std::atomic<bool> m_enabled { true }; //!< marker it is enabled
};