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
@@ -21,6 +21,7 @@
#ifndef RENDERTHREAD_H
#define RENDERTHREAD_H
#include <memory>
#include <QMutex>
#include <QOffscreenSurface>
#include <QOpenGLContext>
@@ -65,4 +66,6 @@ private:
bool cancelled_;
};
using RendererThreadPtr = std::shared_ptr<RendererThread>;
#endif // RENDERTHREAD_H