repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
271e777
)
cec: made = operator private for CCECAdapterMessage. these should not be copied
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Sun, 30 Oct 2011 09:25:06 +0000
(10:25 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Sun, 30 Oct 2011 09:25:06 +0000
(10:25 +0100)
src/lib/AdapterCommunication.h
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/AdapterCommunication.h
b/src/lib/AdapterCommunication.h
index 29b716a078553fbb63cefa6cce57e7f67fd09d17..5e099d8d69d41b1ef8f115dcc14294b494d8f505 100644
(file)
--- a/
src/lib/AdapterCommunication.h
+++ b/
src/lib/AdapterCommunication.h
@@
-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;