mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 09:51:35 +08:00
Allocator interface: getNumBlocks() --> getBlockCapacity()
This commit is contained in:
@@ -316,5 +316,5 @@ class NullAllocator : public uavcan::IPoolAllocator
|
||||
public:
|
||||
virtual void* allocate(std::size_t) { return NULL; }
|
||||
virtual void deallocate(const void*) { }
|
||||
virtual uint16_t getNumBlocks() const { return 0; }
|
||||
virtual uint16_t getBlockCapacity() const { return 0; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user