summaryrefslogtreecommitdiff
path: root/goo
diff options
context:
space:
mode:
authorOliver Sander <oliver.sander@tu-dresden.de>2018-11-30 17:46:02 +0100
committerAlbert Astals Cid <tsdgeos@yahoo.es>2019-03-21 22:28:12 +0000
commitfda9a2a2fcb0d12add4812c84f7d39684d2ca6d7 (patch)
tree5f4b4421c0add211fe3b34359e3048248d71dc6f /goo
parentf4e902124c90333db9b2ff2fee3dcf01f52df999 (diff)
Remove method GooList::getLength
Use method 'size' (from std::vector) instead.
Diffstat (limited to 'goo')
-rw-r--r--goo/GooList.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/goo/GooList.h b/goo/GooList.h
index 3e052700..78685fea 100644
--- a/goo/GooList.h
+++ b/goo/GooList.h
@@ -48,9 +48,6 @@ public:
explicit GooList(const std::vector<void *>& vec) : std::vector<void *>(vec) {}
explicit GooList(std::vector<void *>&& vec) : std::vector<void *>(std::move(vec)) {}
- // Get the number of elements.
- int getLength() const { return size(); }
-
// Return the <i>th element.
// Assumes 0 <= i < length.
void *get(int i) const { return (*this)[i]; }