Skip to content
Snippets Groups Projects
Commit e4b7a5c5 authored by florian's avatar florian
Browse files

MAINT: Remove commented code

parent 87b4de92
No related branches found
No related tags found
3 merge requests!12F consolidation,!9Draft: API: remove UniqueResult, lower-case at, size for ResultSet,!8ENH: Add retrieval and queries to Extern C interface
......@@ -133,26 +133,6 @@ protected:
// shift all indices in the cache above index (such that the values do not
// get deleted/copied because this could destroy pointers (c-interface).
// auto next = cache.begin();
// while(next != cache.end()) {
// auto cached = *next;
// if(cached.first > index) {
// std::make_pair<int, T>(cached.first-1,
//}
// cached.first
// next = std::next(next);
//}
// for(auto &cached : cache) {
// if(cached.first > index) {
// cached.first--;
//}
//}
// for(int i = index + 1; i < Size(); i++) {
// if(cache.count(i)>0) {
// cache.at(i).wrapped = &(this->wrapped->at(i));
//}
//}
for (int i = index + 1; i < Size(); i++) {
if (cache.count(i) > 0) {
auto handle = cache.extract(i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment