diff --git a/headers/private/kernel/util/Vector.h b/headers/private/kernel/util/Vector.h index 08cedcf79d..d7f52a2b90 100644 --- a/headers/private/kernel/util/Vector.h +++ b/headers/private/kernel/util/Vector.h @@ -120,6 +120,11 @@ private: typedef VectorIterator Iterator; public: + inline VectorIterator() + : fElement(NULL) + { + } + inline VectorIterator(const Iterator &other) : fElement(other.fElement) { @@ -187,7 +192,7 @@ public: // private public: - inline VectorIterator(Value *element = NULL) + inline VectorIterator(Value *element) : fElement(element) { } @@ -447,7 +452,7 @@ _VECTOR_CLASS_NAME::MakeEmpty() /*! \brief Returns an iterator referring to the beginning of the vector. If the vector is not empty, Begin() refers to its first element, - otherwise it is equal to End() and must not be dereference! + otherwise it is equal to End() and must not be dereferenced! \return An iterator referring to the beginning of the vector. */ @@ -463,7 +468,7 @@ _VECTOR_CLASS_NAME::Begin() /*! \brief Returns an iterator referring to the beginning of the vector. If the vector is not empty, Begin() refers to its first element, - otherwise it is equal to End() and must not be dereference! + otherwise it is equal to End() and must not be dereferenced! \return An iterator referring to the beginning of the vector. */ diff --git a/headers/private/kernel/util/VectorSet.h b/headers/private/kernel/util/VectorSet.h index 857d0dc1aa..841ebc3c8c 100644 --- a/headers/private/kernel/util/VectorSet.h +++ b/headers/private/kernel/util/VectorSet.h @@ -230,7 +230,7 @@ _VECTOR_SET_CLASS_NAME::MakeEmpty() /*! \brief Returns an iterator referring to the beginning of the set. If the set is not empty, Begin() refers to its first element, - otherwise it is equal to End() and must not be dereference! + otherwise it is equal to End() and must not be dereferenced! \return An iterator referring to the beginning of the set. */ @@ -246,7 +246,7 @@ _VECTOR_SET_CLASS_NAME::Begin() /*! \brief Returns an iterator referring to the beginning of the set. If the set is not empty, Begin() refers to its first element, - otherwise it is equal to End() and must not be dereference! + otherwise it is equal to End() and must not be dereferenced! \return An iterator referring to the beginning of the set. */ @@ -364,7 +364,7 @@ _VECTOR_SET_CLASS_NAME::Find(const Value &value) const If the set contains an element with the specified value, an iterator to it is returned. Otherwise \a less indicates whether an iterator to - the immediately smaller or greater element shall be returned. + the directly smaller or greater element shall be returned. If \a less is \c true and the first element in the set has a greater value than the specified one, End() is returned. Similarly, when \a less @@ -405,7 +405,7 @@ _VECTOR_SET_CLASS_NAME::FindClose(const Value &value, bool less) If the set contains an element with the specified value, an iterator to it is returned. Otherwise \a less indicates whether an iterator to - the immediately smaller or greater element shall be returned. + the directly smaller or greater element shall be returned. If \a less is \c true and the first element in the set has a greater value than the specified one, End() is returned. Similarly, when \a less