summaryrefslogtreecommitdiffstats
path: root/src/engine/EventBuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/EventBuffer.cpp')
-rw-r--r--src/engine/EventBuffer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/EventBuffer.cpp b/src/engine/EventBuffer.cpp
index da6b5745..4f7f6b5f 100644
--- a/src/engine/EventBuffer.cpp
+++ b/src/engine/EventBuffer.cpp
@@ -33,8 +33,8 @@ using namespace Shared;
/** Allocate a new event buffer.
* \a capacity is in bytes (not number of events).
*/
-EventBuffer::EventBuffer(size_t capacity)
- : Buffer(PortType(PortType::EVENTS), capacity)
+EventBuffer::EventBuffer(BufferFactory& factory, size_t capacity)
+ : Buffer(factory, PortType(PortType::EVENTS), capacity)
, _latest_frames(0)
, _latest_subframes(0)
{