libuavcan core now uses UAVCAN_ASSERT() instead of assert() (autoreplace)

This commit is contained in:
Pavel Kirienko
2014-07-12 17:17:09 +04:00
parent cf19d86842
commit 530242819d
55 changed files with 208 additions and 208 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ void LimitedPoolAllocator::deallocate(const void* ptr)
{
allocator_.deallocate(ptr);
assert(used_blocks_ > 0);
UAVCAN_ASSERT(used_blocks_ > 0);
if (used_blocks_ > 0)
{
used_blocks_--;