summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Fleytman <dfleytma@redhat.com>2015-11-24 12:05:54 +0200
committerDmitry Fleytman <dfleytma@redhat.com>2015-11-24 12:32:38 +0200
commit72a4bcc5c188175dcbc8bcc044af8a1fedf91d5c (patch)
tree5d3c4275e6d67af1b25062e50ed2693e573776fa
parent295fb0d871c93dd895a0d846aa4d92b9c64659d0 (diff)
CWdmSet: Prohibit copying
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
-rw-r--r--UsbDk/UsbDkUtil.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/UsbDk/UsbDkUtil.h b/UsbDk/UsbDkUtil.h
index d94a059..5199b0a 100644
--- a/UsbDk/UsbDkUtil.h
+++ b/UsbDk/UsbDkUtil.h
@@ -352,6 +352,9 @@ public:
TInternalList TempList;
SwapLists(TempList);
}
+
+ CWdmSet(const CWdmSet&) = delete;
+ CWdmSet& operator= (const CWdmSet&) = delete;
private:
void SwapLists(TInternalList &OtherList)
{