mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[wpiutil] SignalObject: Fix move operator= (#7649)
This commit is contained in:
@@ -407,7 +407,7 @@ class SignalObject final {
|
||||
}
|
||||
SignalObject& operator=(SignalObject&& rhs) {
|
||||
if (m_handle != 0) {
|
||||
DestroySemaphore(m_handle);
|
||||
DestroySignalObject(m_handle);
|
||||
}
|
||||
m_handle = rhs.m_handle;
|
||||
rhs.m_handle = 0;
|
||||
|
||||
Reference in New Issue
Block a user