Skip to content

Commit

Permalink
CWdmSet: Prohibit copying
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Fleytman <[email protected]>
  • Loading branch information
Dmitry Fleytman committed Nov 24, 2015
1 parent 295fb0d commit 72a4bcc
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 @@ -352,6 +352,9 @@ class CWdmSet : private TAccessStrategy, public TCountingStrategy
TInternalList TempList;
SwapLists(TempList);
}

CWdmSet(const CWdmSet&) = delete;
CWdmSet& operator= (const CWdmSet&) = delete;
private:
void SwapLists(TInternalList &OtherList)
{
Expand Down

0 comments on commit 72a4bcc

Please sign in to comment.