summaryrefslogtreecommitdiffstats
path: root/src/ptrvector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ptrvector.h')
-rw-r--r--src/ptrvector.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ptrvector.h b/src/ptrvector.h
index a27c884..727c29e 100644
--- a/src/ptrvector.h
+++ b/src/ptrvector.h
@@ -134,7 +134,7 @@ public:
m_baseVector.insert(&m_baseVector[pos.m_index], t);
}
- Iterator tqfind(Ptr t) {
+ Iterator find(Ptr t) {
for(size_t i = 0; i < count(); ++i) {
if(m_baseVector[i].data() == t) {
return Iterator(this, i);
@@ -143,7 +143,7 @@ public:
return end();
}
- bool tqcontains(Ptr t) const { return tqFind(m_baseVector.begin(), m_baseVector.end(), Ptr(t)) != m_baseVector.end(); }
+ bool contains(Ptr t) const { return tqFind(m_baseVector.begin(), m_baseVector.end(), Ptr(t)) != m_baseVector.end(); }
bool remove(const Ptr& t) {
Ptr* it = tqFind(m_baseVector.begin(), m_baseVector.end(), t);
if(it == m_baseVector.end()) return false;
@@ -259,7 +259,7 @@ public:
void push_back(T* ptr) { m_baseVector.push_back(ptr); }
bool remove(T* ptr);
bool remove(Iterator it);
- bool tqcontains(const T* ptr) const;
+ bool contains(const T* ptr) const;
private:
#ifndef NDEBUG
@@ -311,7 +311,7 @@ bool Tellico::PtrVector<T>::remove(Iterator it) {
}
template <class T>
-bool Tellico::PtrVector<T>::tqcontains(const T* t) const {
+bool Tellico::PtrVector<T>::contains(const T* t) const {
if(!t) {
return false;
}