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:
825ddb9
)
cec: forgot to initialise m_maxSize in CecBuffer
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 29 Sep 2011 20:03:07 +0000
(22:03 +0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 29 Sep 2011 20:03:07 +0000
(22:03 +0200)
src/lib/util/buffer.h
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/util/buffer.h
b/src/lib/util/buffer.h
index 4379f8de020e70d3406bdca248a72a422701101c..dc7af8366c062f102fb03a80c4ba85cf84e78745 100644
(file)
--- a/
src/lib/util/buffer.h
+++ b/
src/lib/util/buffer.h
@@
-38,7
+38,10
@@
template<typename _BType>
struct CecBuffer
{
public:
- CecBuffer(int iMaxSize = 100) {}
+ CecBuffer(int iMaxSize = 100)
+ {
+ m_maxSize = iMaxSize;
+ }
virtual ~CecBuffer(void) {}
bool Push(_BType entry)