summaryrefslogtreecommitdiff
path: root/src/helpers/Monitor.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2024-10-19 23:03:29 +0100
committerGitHub <noreply@github.com>2024-10-19 23:03:29 +0100
commitf044e4c9514ec89c4c1fc8a523ca90b8cb907fb7 (patch)
tree5fa2ba17c08d522b7bb3f6564761b4aaedc532d0 /src/helpers/Monitor.hpp
parentce3ba798df6bca5be1da4396644a9ef08a2acab4 (diff)
internal: Move CMonitor to SP (#8178)
* move monitors to sp * XD
Diffstat (limited to 'src/helpers/Monitor.hpp')
-rw-r--r--src/helpers/Monitor.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helpers/Monitor.hpp b/src/helpers/Monitor.hpp
index ceb90232..f3d6d647 100644
--- a/src/helpers/Monitor.hpp
+++ b/src/helpers/Monitor.hpp
@@ -54,7 +54,7 @@ class CMonitorState {
private:
void ensureBufferPresent();
- CMonitor* m_pOwner;
+ CMonitor* m_pOwner = nullptr;
};
class CMonitor {
@@ -128,8 +128,8 @@ class CMonitor {
WP<CMonitor> self;
// mirroring
- CMonitor* pMirrorOf = nullptr;
- std::vector<CMonitor*> mirrors;
+ PHLMONITORREF pMirrorOf;
+ std::vector<PHLMONITORREF> mirrors;
// ctm
Mat3x3 ctm = Mat3x3::identity();