NumRec Fixes
This commit is contained in:
parent
0542b7ba2e
commit
826713c212
5 changed files with 181 additions and 148 deletions
|
|
@ -111,7 +111,7 @@ namespace tp {
|
|||
mBegin(pStartIndex),
|
||||
mEnd(pEndIndex) {}
|
||||
|
||||
bool valid() { return mBegin < mEnd; }
|
||||
bool valid() const { return mBegin < mEnd; }
|
||||
|
||||
tType idxBegin() const { return mBegin; }
|
||||
|
||||
|
|
@ -119,8 +119,8 @@ namespace tp {
|
|||
|
||||
tType idxDiff() const { return mEnd - mBegin; }
|
||||
|
||||
Iterator begin() { return Iterator(mBegin); }
|
||||
Iterator begin() const { return Iterator(mBegin); }
|
||||
|
||||
Iterator end() { return Iterator(mEnd); }
|
||||
Iterator end() const { return Iterator(mEnd); }
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue