From 7258c6334db4e8c895fc556ae1ed550f0c70ead1 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 16 Sep 2017 15:44:48 +0200 Subject: Namespace PBD::RingBuffer class RingBuffer<> is a very generic name and should not pollute the global namespace. --- libs/pbd/pbd/ringbuffer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs/pbd/pbd/ringbuffer.h') diff --git a/libs/pbd/pbd/ringbuffer.h b/libs/pbd/pbd/ringbuffer.h index 58c463ecbe..9b5b09651e 100644 --- a/libs/pbd/pbd/ringbuffer.h +++ b/libs/pbd/pbd/ringbuffer.h @@ -25,6 +25,8 @@ #include "pbd/libpbd_visibility.h" +namespace PBD { + template class /*LIBPBD_API*/ RingBuffer { @@ -279,5 +281,6 @@ RingBuffer::get_write_vector (typename RingBuffer::rw_vector *vec) } } +} /* end namespace */ #endif /* __ringbuffer_h__ */ -- cgit v1.2.3