diff --git a/rEFIt_UEFI/cpp_foundation/XArray.h b/rEFIt_UEFI/cpp_foundation/XArray.h index 354664d08..117e644fe 100755 --- a/rEFIt_UEFI/cpp_foundation/XArray.h +++ b/rEFIt_UEFI/cpp_foundation/XArray.h @@ -61,8 +61,7 @@ class XArray TYPE& end() { return ElementAt(m_len - 1); } xsize insert(const TYPE newElement, xsize pos, xsize count = 1) { return Insert(newElement, pos, count); } - const bool empty() const; - + //-------------------------------------------------- const TYPE& ElementAt(xsize nIndex) const; @@ -152,7 +151,7 @@ const XArray &XArray::operator =(const XArray &anArray) { xsize ui; - Empty(); + setEmpty(); for ( ui=0 ; ui