summaryrefslogtreecommitdiff
path: root/test/camera/statemachine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/camera/statemachine.cpp')
-rw-r--r--test/camera/statemachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/camera/statemachine.cpp b/test/camera/statemachine.cpp
index 20541b3e..325b4674 100644
--- a/test/camera/statemachine.cpp
+++ b/test/camera/statemachine.cpp
@@ -117,7 +117,7 @@ protected:
return TestFail;
/* Use internally allocated buffers. */
- allocator_ = FrameBufferAllocator::create(camera_);
+ allocator_ = new FrameBufferAllocator(camera_);
Stream *stream = *camera_->streams().begin();
if (allocator_->allocate(stream) < 0)
return TestFail;