mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-27 17:18:47 +02:00
remove cruft
This commit is contained in:
parent
44c3620b6e
commit
92e98438d3
1 changed files with 1 additions and 1 deletions
|
@ -55,6 +55,7 @@ namespace workload {
|
||||||
_nextNewIndex++;
|
_nextNewIndex++;
|
||||||
return index;
|
return index;
|
||||||
} else {
|
} else {
|
||||||
|
// TODO: sort _freeIndices when neccessary to help keep used allocated indices more tightly packed
|
||||||
Index index = _freeIndices.back();
|
Index index = _freeIndices.back();
|
||||||
_freeIndices.pop_back();
|
_freeIndices.pop_back();
|
||||||
return index;
|
return index;
|
||||||
|
@ -64,7 +65,6 @@ namespace workload {
|
||||||
void freeIndex(Index index) {
|
void freeIndex(Index index) {
|
||||||
if (checkIndex(index)) {
|
if (checkIndex(index)) {
|
||||||
_freeIndices.push_back(index);
|
_freeIndices.push_back(index);
|
||||||
//std::sort(_freeIndices.begin(), _freeIndices.end());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue