PoolManager<> removed (was useless) (#33)

This commit is contained in:
Pavel Kirienko
2015-06-15 15:27:33 +03:00
parent 95091ab26c
commit 00319909c1
17 changed files with 73 additions and 313 deletions
+1 -3
View File
@@ -68,12 +68,10 @@ TEST(CanTxQueue, TxQueue)
ASSERT_GE(40, sizeof(CanTxQueue::Entry)); // should be true for any platforms, though not required
uavcan::PoolAllocator<40 * 4, 40> pool;
uavcan::PoolManager<2> poolmgr;
poolmgr.addPool(&pool);
SystemClockMock clockmock;
CanTxQueue queue(poolmgr, clockmock, 99999);
CanTxQueue queue(pool, clockmock, 99999);
EXPECT_TRUE(queue.isEmpty());
const uavcan::CanIOFlags flags = 0;