cec: made = operator private for CCECAdapterMessage. these should not be copied
authorLars Op den Kamp <lars@opdenkamp.eu>
Sun, 30 Oct 2011 09:25:06 +0000 (10:25 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Sun, 30 Oct 2011 09:25:06 +0000 (10:25 +0100)
src/lib/AdapterCommunication.h

index 29b716a078553fbb63cefa6cce57e7f67fd09d17..5e099d8d69d41b1ef8f115dcc14294b494d8f505 100644 (file)
@@ -45,7 +45,6 @@ namespace CEC
   public:
     CCECAdapterMessage(void) {}
     CCECAdapterMessage(const cec_command &command);
-    CCECAdapterMessage &operator =(const CCECAdapterMessage &msg);
 
     bool                    empty(void) const             { return packet.empty(); }
     uint8_t                 operator[](uint8_t pos) const { return packet[pos]; }
@@ -62,6 +61,9 @@ namespace CEC
     void                    push_escaped(int16_t byte);
 
     cec_datapacket packet;
+
+  private:
+    CCECAdapterMessage &operator =(const CCECAdapterMessage &msg);
   };
   typedef boost::shared_ptr<CCECAdapterMessage> CCECAdapterMessagePtr;