(Hopefully) clarify operator= and copy construction behaviour of the Property hierarc...
[ardour.git] / libs / pbd / pbd / ringbufferNPT.h
index fee2efce3d8c78c4900eb09d0cb08580bf04c456..2b6aa03d626dc333ad35926551b7f56e34066647 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #ifndef ringbuffer_npt_h
@@ -23,6 +22,7 @@
 
 //#include <sys/mman.h>
 
+#include <cstring>
 #include <glib.h>
 
 /* ringbuffer class where the element size is not required to be a power of two */
@@ -35,10 +35,9 @@ class RingBufferNPT
                size = sz;
                buf = new T[size];
                reset ();
-
-       };
+       }
        
-       virtual ~RingBufferNPT() {
+       virtual ~RingBufferNPT () {
                delete [] buf;
        }