add last backwards-compatible version

This commit is contained in:
2021-12-14 00:33:46 -07:00
parent 68b10d413b
commit b0dd3f07f3
335 changed files with 4746 additions and 19627 deletions

View File

@@ -95,7 +95,7 @@ namespace pfc {
if (count==0) return start;
else if (count<0) {
size_t idx;
if (!_findNearestDown( start, idx ) || (t_ssize)m_content[idx] < (t_ssize)start+count) return start + count;
if (!_findNearestDown( start, idx ) || m_content[idx] < start+count) return start + count;
return m_content[idx];
} else { // count > 0
size_t idx;