Utils: Make spinlock copying prohibited
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
This commit is contained in:
parent
a39d901f7d
commit
fa27333c0e
1 changed files with 3 additions and 0 deletions
|
|
@ -38,6 +38,9 @@ public:
|
|||
private:
|
||||
KSPIN_LOCK m_Lock;
|
||||
KIRQL m_OldIrql;
|
||||
|
||||
CWdmSpinLock(const CWdmSpinLock&) = delete;
|
||||
CWdmSpinLock& operator= (const CWdmSpinLock&) = delete;
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue