diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2025-01-23 21:55:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-23 21:55:41 +0100 |
| commit | 0a1ae48a9fd6eb76baad27de98c00f653a55e4ac (patch) | |
| tree | 007cd36eb83d343d2aba49cf0741028c5f554895 /src/protocols/CTMControl.hpp | |
| parent | ae403e6a05452336abd97e61be2706f6a930d827 (diff) | |
core: move all shared_ptrs from the STL to hyprutils (#9143)
Diffstat (limited to 'src/protocols/CTMControl.hpp')
| -rw-r--r-- | src/protocols/CTMControl.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/protocols/CTMControl.hpp b/src/protocols/CTMControl.hpp index 2639d176..2c168acd 100644 --- a/src/protocols/CTMControl.hpp +++ b/src/protocols/CTMControl.hpp @@ -1,6 +1,5 @@ #pragma once -#include <memory> #include <vector> #include <cstdint> #include "WaylandProtocol.hpp" @@ -45,7 +44,7 @@ class CHyprlandCTMControlProtocol : public IWaylandProtocol { Mat3x3 ctmFrom = Mat3x3::identity(), ctmTo = Mat3x3::identity(); PHLANIMVAR<float> progress; }; - std::map<PHLMONITORREF, std::unique_ptr<SCTMData>> m_mCTMDatas; + std::map<PHLMONITORREF, UP<SCTMData>> m_mCTMDatas; friend class CHyprlandCTMControlResource; }; |
