Reset everything in monitor move constructor
This commit is contained in:
parent
5e4aba8140
commit
86dbcfda4f
@ -24,6 +24,8 @@ Monitor::Monitor(Monitor&& other) noexcept
|
||||
other.m_hMonitor = 0;
|
||||
other.m_physicalMonitor.name.clear();
|
||||
other.m_physicalMonitor.handle = 0;
|
||||
other.m_brightnessRange.reset();
|
||||
other.m_errorOccurred = false;
|
||||
}
|
||||
|
||||
Monitor::~Monitor()
|
||||
|
Loading…
Reference in New Issue
Block a user