Disable copy contructors
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Tue, 22 Mar 2011 15:40:49 +0000
changeset 6931 0d20803d0df5
parent 6930 8406f75b430e
child 6932 3b497f4f6ad9
Disable copy contructors
src/emu/model/emu-net-device.h
src/wifi/model/regular-wifi-mac.h
--- a/src/emu/model/emu-net-device.h	Mon Mar 21 18:54:34 2011 +0000
+++ b/src/emu/model/emu-net-device.h	Tue Mar 22 15:40:49 2011 +0000
@@ -212,6 +212,8 @@
   EmuNetDevice::EncapsulationMode  GetEncapsulationMode (void) const;
 
 private:
+  EmuNetDevice (const EmuNetDevice &);
+  EmuNetDevice & operator= (const EmuNetDevice &);
 
   virtual void DoDispose (void);
 
--- a/src/wifi/model/regular-wifi-mac.h	Mon Mar 21 18:54:34 2011 +0000
+++ b/src/wifi/model/regular-wifi-mac.h	Tue Mar 22 15:40:49 2011 +0000
@@ -313,6 +313,9 @@
   /** Get accessor for the \c m_qosSupported member */
   bool GetQosSupported () const;
 private:
+  RegularWifiMac (const RegularWifiMac &);
+  RegularWifiMac & operator= (const RegularWifiMac &);
+
   /**
    * This method is a private utility invoked to configure the channel
    * access function for the specified Access Category.