From a27d105dcd1376c1df4ff16e388dfcfa3b355cc6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 7 Aug 2013 09:35:30 +0200 Subject: FatalError: new library to replace mpd_error.h --- src/MusicBuffer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/MusicBuffer.cxx') diff --git a/src/MusicBuffer.cxx b/src/MusicBuffer.cxx index ea03fc0b9..049fb81d9 100644 --- a/src/MusicBuffer.cxx +++ b/src/MusicBuffer.cxx @@ -22,7 +22,7 @@ #include "MusicChunk.hxx" #include "thread/Mutex.hxx" #include "util/SliceBuffer.hxx" -#include "mpd_error.h" +#include "FatalError.hxx" #include @@ -33,7 +33,7 @@ struct music_buffer : public SliceBuffer { music_buffer(unsigned num_chunks) :SliceBuffer(num_chunks) { if (IsOOM()) - MPD_ERROR("Failed to allocate buffer"); + FatalError("Failed to allocate buffer"); } }; -- cgit v1.2.3