moved more objects to shared ptrs

This commit is contained in:
itsmattkc
2019-08-09 08:21:54 +10:00
parent dfd33310a2
commit f26eea1620
12 changed files with 33 additions and 28 deletions
+2 -2
View File
@@ -79,10 +79,10 @@ public:
* This function attempts a dynamic_cast on QThread::currentThread() to RendererThread, which will return nullptr if
* the cast fails (e.g. if this function is called from the main thread rather than a RendererThread).
*/
static RendererThread* CurrentThread();
static RendererThread *CurrentThread();
private:
QVector<RendererThread*> threads_;
QVector<RendererThreadPtr> threads_;
bool started_;
};