summaryrefslogtreecommitdiffstats
path: root/raul/RingBuffer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'raul/RingBuffer.hpp')
-rw-r--r--raul/RingBuffer.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/raul/RingBuffer.hpp b/raul/RingBuffer.hpp
index 2c937cf..23d4d90 100644
--- a/raul/RingBuffer.hpp
+++ b/raul/RingBuffer.hpp
@@ -22,6 +22,7 @@
#include <cstring>
#include <iostream>
#include <glib.h>
+#include "raul/log.hpp"
namespace Raul {
@@ -189,7 +190,7 @@ bool
RingBuffer<T>::skip(size_t size)
{
if (read_space() < size) {
- std::cerr << "WARNING: Attempt to skip past end of MIDI ring buffer" << std::endl;
+ warn << "Attempt to skip past end of MIDI ring buffer" << std::endl;
return false;
}