cec: fix the command buffer
[deb_libcec.git] / src / lib / util / buffer.h
index dc7af8366c062f102fb03a80c4ba85cf84e78745..cafa65574414b5864718038b175d697566572cf9 100644 (file)
@@ -44,6 +44,8 @@ template<typename _BType>
     }
     virtual ~CecBuffer(void) {}
 
+    int Size(void) const { return m_buffer.size(); }
+
     bool Push(_BType entry)
     {
       CLockObject lock(&m_mutex);