Skip to content

Commit

Permalink
Utils: Make spinlock copying prohibited
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Fleytman <[email protected]>
  • Loading branch information
Dmitry Fleytman committed Dec 24, 2015
1 parent a39d901 commit fa27333
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions UsbDk/UsbDkUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ class CWdmSpinLock
private:
KSPIN_LOCK m_Lock;
KIRQL m_OldIrql;

CWdmSpinLock(const CWdmSpinLock&) = delete;
CWdmSpinLock& operator= (const CWdmSpinLock&) = delete;
};

template <typename T>
Expand Down

0 comments on commit fa27333

Please sign in to comment.