summaryrefslogtreecommitdiff
path: root/goo
diff options
context:
space:
mode:
authorAdam Reichold <adam.reichold@t-online.de>2018-08-26 21:20:57 +0200
committerAlbert Astals Cid <tsdgeos@yahoo.es>2018-10-05 09:46:33 +0000
commit4ae24db322e38ec81acc749c71c9efa972afe39d (patch)
treeef18fed3581aaeb282c8777394019da90f8c19c2 /goo
parent4236d98179699dd7512805075eecb292fc253965 (diff)
Remove GooList::del since its few users are easily converted.
Diffstat (limited to 'goo')
-rw-r--r--goo/GooList.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/goo/GooList.h b/goo/GooList.h
index 657839a5..c0e71023 100644
--- a/goo/GooList.h
+++ b/goo/GooList.h
@@ -81,15 +81,6 @@ struct GooList : public std::vector<void *> {
void insert(int i, void *p) {
static_cast<std::vector<void *>&>(*this).insert(begin() + i, p);
}
-
- // Deletes and returns the element at index <i>.
- // Assumes 0 <= i < length.
- void *del(int i) {
- auto iter = begin() + i;
- auto tmp = *iter;
- erase(iter);
- return tmp;
- }
};
#define deleteGooList(list, T) \