diff options
Diffstat (limited to 'src/libs/engine/PostProcessor.cpp')
-rw-r--r-- | src/libs/engine/PostProcessor.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libs/engine/PostProcessor.cpp b/src/libs/engine/PostProcessor.cpp index 264e4f6f..6c8555e4 100644 --- a/src/libs/engine/PostProcessor.cpp +++ b/src/libs/engine/PostProcessor.cpp @@ -19,7 +19,7 @@ #include <iostream> #include <pthread.h> #include "Event.h" -#include "raul/Queue.h" +#include "raul/SRSWQueue.h" #include "Maid.h" @@ -43,8 +43,9 @@ PostProcessor::PostProcessor(Maid& maid, size_t queue_size) void PostProcessor::_whipped() { - while ( ! _events.is_empty()) { - Event* const ev = _events.pop(); + while ( ! _events.empty()) { + Event* const ev = _events.front(); + _events.pop(); assert(ev); ev->post_process(); _maid.push(ev); |