mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 01:33:34 +08:00
Style fix: LinkedListRoot<>::length() --> getLength()
This commit is contained in:
@@ -48,7 +48,7 @@ public:
|
||||
T* get() const { return root_; }
|
||||
bool isEmpty() const { return get() == NULL; }
|
||||
|
||||
unsigned int length() const
|
||||
unsigned int getLength() const
|
||||
{
|
||||
T* node = root_;
|
||||
unsigned int cnt = 0;
|
||||
|
||||
@@ -44,7 +44,7 @@ class Dispatcher : Noncopyable
|
||||
void cleanup(uint64_t ts_monotonic);
|
||||
void handleFrame(const RxFrame& frame);
|
||||
|
||||
int getNumEntries() const { return list_.length(); }
|
||||
int getNumEntries() const { return list_.getLength(); }
|
||||
};
|
||||
|
||||
ListenerRegister lmsg_;
|
||||
|
||||
@@ -422,7 +422,7 @@ public:
|
||||
|
||||
bool isEmpty() const { return (getNumStaticBuffers() == 0) && (getNumDynamicBuffers() == 0); }
|
||||
|
||||
unsigned int getNumDynamicBuffers() const { return dynamic_buffers_.length(); }
|
||||
unsigned int getNumDynamicBuffers() const { return dynamic_buffers_.getLength(); }
|
||||
|
||||
unsigned int getNumStaticBuffers() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user