summaryrefslogtreecommitdiffstats
path: root/src/ptrvector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ptrvector.h')
-rw-r--r--src/ptrvector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ptrvector.h b/src/ptrvector.h
index 727c29e..0e63743 100644
--- a/src/ptrvector.h
+++ b/src/ptrvector.h
@@ -37,7 +37,7 @@ public:
VectorIterator(const VectorIterator<T>& other) : m_vector(other.m_vector), m_index(other.m_index) {}
// operator T*() { return m_vector->at(m_index).data(); }
- operator KSharedPtr<T>() { return m_vector->at(m_index); }
+ operator TDESharedPtr<T>() { return m_vector->at(m_index); }
T* operator->() { return m_vector->at(m_index).data(); }
T& operator*() { return *m_vector->at(m_index); }
T* data() { return m_vector->at(m_index).data(); }
@@ -66,7 +66,7 @@ public:
VectorConstIterator(const VectorIterator<T>& other) : m_vector(other.m_vector), m_index(other.m_index) {}
// operator const T*() { return m_vector->at(m_index).data(); }
- operator KSharedPtr<const T>() { return m_vector->at(m_index); }
+ operator TDESharedPtr<const T>() { return m_vector->at(m_index); }
const T* operator->() const { return m_vector->at(m_index).data(); }
const T& operator*() const { return *m_vector->at(m_index); }
const T* data() const { return m_vector->at(m_index).data(); }
@@ -90,7 +90,7 @@ private:
template <class T>
class Vector {
public:
- typedef KSharedPtr<T> Ptr;
+ typedef TDESharedPtr<T> Ptr;
typedef VectorIterator<T> Iterator;
typedef VectorConstIterator<T> ConstIterator;