summaryrefslogtreecommitdiff
path: root/lib/block_allocator.cpp
diff options
context:
space:
mode:
authorJosh Blum2012-12-23 00:24:25 -0800
committerJosh Blum2012-12-23 00:24:25 -0800
commita6709912308c428cec6a136af90df125143c17f5 (patch)
treea20642d22381b80bb0c22193215bc3714c7a9eb1 /lib/block_allocator.cpp
parent0a0ec3568a0c0e907df157df891a4e683dc6d264 (diff)
downloadsandhi-a6709912308c428cec6a136af90df125143c17f5.tar.gz
sandhi-a6709912308c428cec6a136af90df125143c17f5.tar.bz2
sandhi-a6709912308c428cec6a136af90df125143c17f5.zip
making use of last and fixing up the buffer stitching
Diffstat (limited to 'lib/block_allocator.cpp')
-rw-r--r--lib/block_allocator.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/block_allocator.cpp b/lib/block_allocator.cpp
index 3f468cc..6dc5022 100644
--- a/lib/block_allocator.cpp
+++ b/lib/block_allocator.cpp
@@ -89,15 +89,13 @@ void BlockActor::handle_top_alloc(const TopAllocMessage &, const Theron::Address
}
BufferQueueSptr Block::output_buffer_allocator(
- const size_t,
- const SBufferConfig &config
+ const size_t, const SBufferConfig &config
){
return BufferQueue::make_pool(config, THIS_MANY_BUFFERS);
}
BufferQueueSptr Block::input_buffer_allocator(
- const size_t,
- const SBufferConfig &
+ const size_t, const SBufferConfig &
){
return BufferQueueSptr(); //null
}