diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-02-22 15:12:15 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-02-22 15:12:15 (GMT) |
commit | 023b07ca13263a9d6d50ffa806d5aad35e31c869 (patch) | |
tree | 31dc885f9ccb65d2b4d455d34b2ab7369d303bf1 /src/section.h | |
parent | b250f07e44b96a2e9b6b3418f552e637d5a10d0e (diff) | |
download | Doxygen-023b07ca13263a9d6d50ffa806d5aad35e31c869.zip Doxygen-023b07ca13263a9d6d50ffa806d5aad35e31c869.tar.gz Doxygen-023b07ca13263a9d6d50ffa806d5aad35e31c869.tar.bz2 |
Cleanup code
Diffstat (limited to 'src/section.h')
-rw-r--r-- | src/section.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/section.h b/src/section.h index 2c24e8d..daee254 100644 --- a/src/section.h +++ b/src/section.h @@ -115,7 +115,8 @@ class SectionRefs const_iterator begin() const { return m_entries.cbegin(); } const_iterator end() const { return m_entries.cend(); } - bool empty() const { return m_lookup.empty(); } + bool empty() const { return m_entries.empty(); } + int size() const { return m_entries.size(); } private: SectionInfoVec m_entries; @@ -176,6 +177,7 @@ class SectionManager iterator begin() { return m_entries.begin(); } iterator end() { return m_entries.end(); } bool empty() const { return m_entries.empty(); } + int size() const { return m_entries.size(); } //! clears the sections void clear() |