Style fix: LinkedListRoot<>::length() --> getLength()

This commit is contained in:
Pavel Kirienko
2014-02-19 00:50:24 +04:00
parent 903ec1b0a1
commit d330572e37
4 changed files with 11 additions and 11 deletions
@@ -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
{