Make RowRanges::GetSize() inline
No real changes.
This commit is contained in:
@@ -56,7 +56,13 @@ public:
|
||||
not including given row.
|
||||
*/
|
||||
unsigned int CountTo(unsigned int row) const;
|
||||
unsigned int GetSize() const; // for debugging statistics
|
||||
|
||||
/**
|
||||
Returns the size of the range.
|
||||
|
||||
This is only used for testing and debugging.
|
||||
*/
|
||||
unsigned int GetSize() const { return m_ranges.size(); }
|
||||
|
||||
private:
|
||||
wxVector<RowRange> m_ranges;
|
||||
|
@@ -191,12 +191,6 @@ unsigned int RowRanges::CountTo(unsigned int row) const
|
||||
return ctr;
|
||||
}
|
||||
|
||||
unsigned int RowRanges::GetSize() const // for debugging statistics
|
||||
{
|
||||
return m_ranges.size();
|
||||
}
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// HeightCache
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user