diff options
author | David Robillard <d@drobilla.net> | 2012-05-24 02:54:10 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-24 02:54:10 +0000 |
commit | 27a1cf2cf73703267cac5bda2acca386afb374b3 (patch) | |
tree | 122ceba55fef1d183d1b32dca1fd60ffdc113112 /libs/ardour/midi_ring_buffer.cc | |
parent | effe4de1889bfefba6550dff4244e06c2c7261bd (diff) |
Compile cleanly with clang.
To compile Ardour with LLVM/clang, do the usual thing but set the CXX and CC
environment variables, e.g.:
CC=/usr/bin/clang CXX=/usr/bin/clang++ ./waf configure build
git-svn-id: svn://localhost/ardour2/branches/3.0@12418 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_ring_buffer.cc')
-rw-r--r-- | libs/ardour/midi_ring_buffer.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/midi_ring_buffer.cc b/libs/ardour/midi_ring_buffer.cc index 4ad563eec9..30f42aba19 100644 --- a/libs/ardour/midi_ring_buffer.cc +++ b/libs/ardour/midi_ring_buffer.cc @@ -25,9 +25,10 @@ #include "ardour/event_type_map.h" using namespace std; -using namespace ARDOUR; using namespace PBD; +namespace ARDOUR { + /** Read a block of MIDI events from this buffer into a MidiBuffer. * * Timestamps of events returned are relative to start (i.e. event with stamp 0 @@ -279,3 +280,4 @@ MidiRingBuffer<T>::reset_tracker () template class MidiRingBuffer<framepos_t>; +} // namespace ARDOUR |