summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/ringbuffer.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-09-16 15:44:48 +0200
committerRobin Gareus <robin@gareus.org>2017-09-16 16:37:29 +0200
commit7258c6334db4e8c895fc556ae1ed550f0c70ead1 (patch)
tree9a6015bcbef3036b674f70a2d5a5cb817bb2a524 /libs/pbd/pbd/ringbuffer.h
parentae0dcdc0c5d13483271065c360e378202d20170a (diff)
Namespace PBD::RingBuffer
class RingBuffer<> is a very generic name and should not pollute the global namespace.
Diffstat (limited to 'libs/pbd/pbd/ringbuffer.h')
-rw-r--r--libs/pbd/pbd/ringbuffer.h3
1 files changed, 3 insertions, 0 deletions
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 T>
class /*LIBPBD_API*/ RingBuffer
{
@@ -279,5 +281,6 @@ RingBuffer<T>::get_write_vector (typename RingBuffer<T>::rw_vector *vec)
}
}
+} /* end namespace */
#endif /* __ringbuffer_h__ */