diff options
Diffstat (limited to 'src/protocols/GammaControl.hpp')
| -rw-r--r-- | src/protocols/GammaControl.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/GammaControl.hpp b/src/protocols/GammaControl.hpp index 963eea5c..bbdc0139 100644 --- a/src/protocols/GammaControl.hpp +++ b/src/protocols/GammaControl.hpp @@ -20,7 +20,7 @@ class CGammaControl { private: SP<CZwlrGammaControlV1> resource; - CMonitor* pMonitor = nullptr; + WP<CMonitor> pMonitor; size_t gammaSize = 0; bool gammaTableSet = false; std::vector<uint16_t> gammaTable; // [r,g,b]+ |
